POST
/
use-cases
/
{id}
/
labels
curl --request POST \
  --url https://app.happyrobot.ai/api/v1/use-cases/{id}/labels \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "name": "<string>",
  "color": "slate"
}'
This response does not have an example.

Headers

authorization
string
required

Your API key for authentication. Use Bearer format.

Example:

"Bearer API_KEY"

Path Parameters

id
string
required

ID of the use case.

Required string length: 24

Body

application/json

Body

The body is of type object.

Response

200

200