Captions

Delete Captions

Changed on

Removes the captions file from a media for the specified language.

Requires api token with one of the following permissions

Read, update & delete anything

Tokens with the "Act with a team member's permissions" permission (all:delegate_to_contact_permissions scope) can also be used. Requests made with such a token are authorized using the permissions of the contact assigned to the token.

An expiring access token created with the all:delegate_to_contact_permissions scope and an authorization granting the edit-transcripts permission on this media can also be used.

delete/medias/{mediaHashedId}/captions/{languageCode}

Request

  • Base URL
    https://api.wistia.com/modern
  • URL
    https://api.wistia.com/modern/medias/{mediaHashedId}/captions/{languageCode}
  • Auth
    HTTP bearer

Path parameters

mediaHashedIdstring required

Unique identifier for the media.

languageCodestring required

Language code conforming to ISO-639-2 for which the captions should be removed.

Headers

X-Wistia-API-Versionstring required

Response

Successful operation. Captions removed.

Changes