Create or update a media label
POST
http://localhost:4000/api/v1 /media/labels Request body
application/json
idstring
namestring
required
colorstring
required
{
"id": "string",
"name": "string",
"color": "string"
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/media/labels" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"string","name":"string","color":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated