Skip to main content
POST
/
v2
/
app-instance-labels
Create App Instance Label
curl --request POST \
  --url https://public.api.serval.com/v2/app-instance-labels \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "teamId": "<string>",
  "name": "<string>",
  "description": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "teamId": "<string>",
    "name": "<string>",
    "description": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.serval.com/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.

Body

application/json
teamId
string
required

The ID of the team to create the label in.

name
string
required

The name of the label. Must be unique within the team (case-insensitive).

description
string

Optional description of the label.

Response

Success

data
data · object

The created label.