mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-25 08:24:00 +02:00
881 B
881 B
title
| title |
|---|
| Video Script Destroy |
Video Script Destroy Endpoint
The video script destroy endpoint soft deletes a video script and returns the deleted video script resource.
For example, the /videoscript/1 endpoint will soft delete the video script of id '1' and return the deleted video script resource.
URL
DELETE /videoscript/{id}
Authentication
Required Permission: delete video script
Roles with Permission: Encoder, Admin
Other Requirements: Video script must not be soft deleted
Parameters
None
Response
{
videoscript: {
id: id,
path: "path",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at",
link: "link
}
}
Example
curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/videoscript/1