curl --request PATCH \
--url https://api.topsort.com/public/v1/media-service/slots/{slot-id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"isActive": true
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Activate/Deactivate a slot.
curl --request PATCH \
--url https://api.topsort.com/public/v1/media-service/slots/{slot-id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"isActive": true
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}A valid API key generated in Topsort's UI.
The id of the slot. The id of the slot.
Request body to activate or deactivate the slot.
Set is_active to true to activate the slot, or false to deactivate it.
Successful Response
Was this page helpful?