Withdraw a Mini Drama from Review
Withdraws a version of a mini drama that is waiting for review. You can't withdraw a review that has completed.
Endpoint
HTTP URL |
|
HTTP method |
|
Scopes |
|
Content type |
|
Request
Headers
Field | Type | Description | Required | Example |
|
| The client access token of your mini app, prefixed with | Yes |
|
|
| The media type of the request body. | Yes |
|
Request body
Field | Type | Description | Required | Example |
|
| The ID of the mini drama. | Yes |
|
|
| The version to withdraw from review. | Yes |
|
Request example
curl --location 'https://open.tiktokapis.com/v2/sg/shortdrama/album/review/withdraw/' \
--header 'Authorization: Bearer CLIENT_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"album_id": 7300000000000000001,
"version": 2
}'Replace CLIENT_ACCESS_TOKEN with your mini app's client access token.
Response
Response body
A successful withdrawal returns an empty data object.
Field | Type | Description |
|
| An empty object. |
| The error object. |
ErrorStruct
Field | Type | Description |
|
| The error code. Omitted on success. |
|
| A human-readable description of the error. |
|
| The unique identifier for the request. Include this value when contacting support. |
Response example
{
"data": {},
"error": {
"log_id": "202508010000000000000000000000000"
}
}Error codes
Error code | Description | Resolution |
| The service is temporarily unavailable. | Retry later. If the error persists, contact support with the |
| The request is invalid. | Provide a valid |
| No pending review task exists for the mini drama. | Check the review status. |
| The review task has completed and can't be withdrawn. | Check the review status. |
| Your client key doesn't own this review task. | Use the owner's client key and retry. |