DELETE
/
use-cases
/
{id}
/
labels
/
{labelName}
curl --request DELETE \
  --url https://app.happyrobot.ai/api/v1/use-cases/{id}/labels/{labelName} \
  --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
labelName
string
required

Name of the label.

Body

application/json
Body
name
string
required

Name of the label.

Minimum length: 1
color
enum<string>

Color of the label.

Available options:
slate,
gray,
zinc,
neutral,
stone,
red,
orange,
amber,
yellow,
lime,
green,
teal,
cyan,
sky,
blue,
indigo,
violet,
purple,
fuchsia,
pink,
rose

Response

204
_mintlify/placeholder

204