Media

This method accepts a list of up to 100 medias to archive per request. It processes requests asynchronously and will return a background_job_status object rather than the typical Media response object. Note that webinar medias and Soapbox videos imported to Wistia before September 1, 2023 cannot be archived.

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.

put/medias/archive

Request

  • Base URL
    https://api.wistia.com/modern
  • URL
    https://api.wistia.com/modern/medias/archive
  • Auth
    HTTP bearer

Headers

X-Wistia-API-Versionstring required

Request body

hashed_idsstring[] required

An array of the media hashed IDs to be archived.

Response

Successful archival of media.

messagestring required

A confirmation message that the background job has been queued.

Changes