Activate or Deactivate Media
This endpoint allows activating or deactivating a media file in the system by its UUID. It is restricted to users with BACKOFFICE authority.
Authorization
Authorization: Bearer {{YOUR-ACCESS-TOKEN}}HTTP Method & Endpoint
PUT /api/media/{MEDIA-UUID}/active/{active}Example cURL
curl --location --request PUT '{{BASE-URL}}/api/media/{{MEDIA-UUID}}/active/{{ACTIVE}}' \
--header 'Authorization: Bearer {{YOUR-ACCESS-TOKEN}}'Path Parameters
Parameter
Type
Required
Response
Notes
Last updated