Swap Media

Swap one media with another media. This operation queues a background job to replace the original media with the replacement media while preserving the original media's hashed ID and URLs.

Requires api token with one of the following permissions

Read, update & delete anything
Path Params
string
required

The hashed ID of the media to be replaced.

Body Params
string
required

The hashed ID of the media that will replace the original media. Must be the same media type as the original.

Headers
string
required
Defaults to 2026-03
Responses

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json