Disable VOD
This method disables the VOD functionality
info
A successful request will create a task whose progress can be tracked using the Tasks API
Request Parameters
POST /api/clients/v1/vod/{id}/disableVod/
Headers
- Content-Type: application/json
- Authorization: Bearer
$access_token
Path
| Parameter | Type | Constraints | Description | Example |
|---|---|---|---|---|
| id | integer | > 0, required | VOD object ID | 19 |
Response Parameters
JSON body
| Parameter | Type | Description |
|---|---|---|
| task_id | string | Task ID |
Examples
200 OK
VOD disablement task ID
{
"task_id": "bb4dcd80-01a5-4a73-8c2b-62c5027a9b72"
}
400 Bad Request
Invalid path parameters provided
{
"id": [
"A valid integer is required."
]
}
401 Unauthorized
Authentication credentials were missing or invalid
{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [
{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}
]
}
403 Forbidden
VOD disablement is only allowed for project participants associated with its source
{
"detail": "Only project participants can manage this project's VOD"
}
404 Not Found
VOD object with this ID not found
{
"detail": "VOD not found"
}