Media
Delete Media
Changed onDeletes a media. Deleted media moves to the account's Recently Deleted area, where it can be restored until the account's restore window ends, after which it is permanently purged.
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 destroy permission on this media can also be used.
delete/medias/{mediaHashedId}
Request
- Base URLhttps://api.wistia.com/modern
- URLhttps://api.wistia.com/modern/medias/{mediaHashedId}
- AuthHTTP bearer
Path parameters
mediaHashedIdstring required
Hashed ID of the media (e.g., "4d23503f70")
The hashed ID of the media.
Headers
X-Wistia-API-Versionstring required
Response
Successful deletion of the media.
Changes
- info
endpoint added
- info