Launch Week 02 wrapped — explore all five launches

Delete Label

DELETEhttps://api.confident-ai.com/v2/classifiers/{classifierId}/labels/{labelId}

Permanently deletes a label from a classifier and returns its id. Classifications already applied with it are not removed. This action cannot be undone. Requires the Starter plan or above.

DELETE/v2/classifiers/{classifierId}/labels/{labelId}
curl -X DELETE "https://api.confident-ai.com/v2/classifiers/{classifierId}/labels/{labelId}" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": "<CLASSIFIER-LABEL-ID>"
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • classifierIdstringRequired

    The id of the classifier the label belongs to.

  • labelIdstringRequired

    The id of the label.

Response

Delete Label succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    A reference to a classifier label by its id.

    Show 1 propertyHide 1 property
    • idstring

      The id of the label, generated by Confident AI.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI