Create or update a media label

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-mediaorganise-labels-save"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/03a42876-3542-46bf-81c5-82dcb0b89c12/social-card.svg?v=3e7ae33eec8b" alt="Create or update a media label" width="600" height="315"></a>
POST http://localhost:4000/api/v1/media/labels

Request body

application/json
id
string
name
string
required
color
string
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