This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true to the request query parameters.
Clears (soft-deletes) the media item at the specified path within a media set, making it and all older media items at that path un-retrievable.
A branch name, branch RID, or view RID may optionally be specified. If none is specified, the item will be cleared from the default branch. If more than one is specified, an error is thrown.
For transactional media sets, a transaction ID must be provided. The deletion will not be visible until the transaction is committed.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:mediasets-write.
stringThe path of the media item to clear.
stringSpecifies the specific branch by name from which this media item will be cleared. May not be provided if branch rid or view rid are provided.
stringSpecifies the specific branch by rid from which this media item will be cleared. May not be provided if branch name or view rid are provided.
stringSpecifies the specific view by rid from which this media item will be cleared. May not be provided if branch name or branch rid are provided.
stringThe ID of the transaction associated with this request. Required if this is a transactional media set.
booleanA boolean flag that, when set to true, enables the use of beta features in preview mode.