Skip to main content
POST
https://enterprise.spacemedia.uk
/
api
/
v1
/
account-settings
/
labels
Create Custom Label
curl --request POST \
  --url https://enterprise.spacemedia.uk/api/v1/account-settings/labels \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Demo Label"
}
'
{
  "success": true,
  "data": {
    "id": "9d7046b2-3ab1-4c9d-9bd8-90bbd22b7df2",
    "organization_id": "2a8d3e82-4a9d-4e33-9d3b-85bb1a93e8d4",
    "organization_uuid": "2a8d3e82-4a9d-4e33-9d3b-85bb1a93e8d4",
    "name": "Maya Chen",
    "email": "maya.chen@example.test",
    "roles": [
      {
        "id": "role-admin-demo",
        "uuid": "role-admin-demo",
        "name": "Admin"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.spacemedia.uk/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
string

Use application/json for API responses.

Authorization
string

Bearer access token. Use Bearer <YOUR_ACCESS_TOKEN>.

Body

application/json

The body is of type object.

Response

Success

The response is of type object.