Add or remove a label on several files
POST
http://localhost:4000/api/v1 /media/labels/apply Request body
application/json
labelIdstring
required
mediaIdsstring[]
required
removeboolean
{
"labelId": "string",
"mediaIds": [
"string"
],
"remove": true
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/media/labels/apply" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"labelId":"string","mediaIds":["string"],"remove":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated