Episodes
Unpublish an episode
Unpublish or unschedule an episode, reverting it to draft status.
The episode must be in published or scheduled status. Returns
422 if the episode is in any other status.
Authorization
BearerAuth AuthorizationBearer <token>
Jellypod API key. Create and manage keys from the Jellypod dashboard under Settings → API Keys.
In: header
Path Parameters
episode_id*string
The episode's unique identifier.
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.jellypod.com/v1/episodes/497f6eca-6276-4993-bfeb-53cbbbba6f08/unpublish"{
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"podcast_id": "4c1cb0f8-818b-4f7a-9ddb-0d1ea990b35a",
"status": "draft",
"title": "string",
"description": "string",
"image_url": "http://example.com",
"video_url": "http://example.com",
"audio_url": "http://example.com",
"duration": 0,
"host_ids": [
"string"
],
"source_ids": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}{
"error": {
"code": "bad_request",
"message": "string",
"request_id": "string",
"details": [
{
"field": "string",
"message": "string"
}
]
}
}{
"error": {
"code": "bad_request",
"message": "string",
"request_id": "string",
"details": [
{
"field": "string",
"message": "string"
}
]
}
}{
"error": {
"code": "bad_request",
"message": "string",
"request_id": "string",
"details": [
{
"field": "string",
"message": "string"
}
]
}
}{
"error": {
"code": "bad_request",
"message": "string",
"request_id": "string",
"details": [
{
"field": "string",
"message": "string"
}
]
}
}Was this page helpful?