Create a new tag.
cURL
curl --request POST \ --url https://public.api.serval.com/v2/tags \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "teamId": "<string>", "name": "<string>", "color": "<string>", "iconSlug": "<string>" } '
{ "data": { "id": "<string>", "name": "<string>", "color": "<string>", "iconSlug": "<string>", "teamId": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the team to create the tag for.
The name of the tag.
The color of the tag (CSS color string).
The icon slug for the tag.
Success
The created tag.
Show child attributes
Was this page helpful?