curl --request POST \ --url https://app.tegon.ai/api/v1/labels/{labelId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "color": "<string>", "description": "<string>", "groupId": "<string>" }'
{ "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "deleted": "2023-11-07T05:31:56Z", "name": "<string>", "color": "<string>", "description": "<string>", "workspaceId": "<string>", "teamId": "<string>", "groupId": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Was this page helpful?