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 has no body data.

Headers

authorization
string
required

Your API key for authentication. Use Bearer format.

Path Parameters

id
string
required

ID of the use case.

labelName
string
required

Name of the label.

Body

application/json
name
string
required

Name of the label.

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