Skip to main content
DELETE
/
workspaces
/
{workspace}
/
labels
/
{label}
Delete Label
curl --request DELETE \
  --url https://lancepilot.com/api/v3/workspaces/{workspace}/labels/{label} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Resource deleted successfully.",
  "status": 200
}

💡 Notes

  • Deleting a label will automatically detach it from all associated contacts
  • This action cannot be undone
  • The label ID will not be reused

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace
string<uuid>
required

ID of the workspace.

label
integer
required

ID of the label.

Response

message
string
required
Example:

"Resource deleted successfully."

status
integer
required
Example:

200