Applications
Delete label
Delete an application-level label, removing it from any builds and releases, and deleting any automations (webhooks, Slack or email notifications) that filter on it. Workspace-level labels can't be deleted through this endpoint (403). Requires applications:write or application:write scope.
DELETE
/applications/{application_id}/labels/{label_identifier}Authorization
bearerAuth AuthorizationBearer <token>
API key. Bearer authentication header of the form Bearer <token>, where <token> is your Workspace or Application API key.
In: header
Path Parameters
application_id*string
Application ID.
label_identifier*string
Label ID or name.
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.comapplications/aBc1234/labels/Production" \ -H "Authorization: Bearer YOUR_API_KEY"{ "message": "Label deleted successfully."}{ "message": "Unauthorized"}{ "message": "This action requires 'resource:action' scope."}{ "message": "Not found."}