Remove Label

DELETE /api/v2.0/labels/{label_id}

This endpoint removes the label using unique label_id.

Responses

  • 200 object

    Success Response

    • message string Required

      Success message

    • id string Required

      Label Record Unique ID

  • 204 object

    The record has been updated successfully.

    • message string Required

      Success message

    • id string Required

      Label Record Unique ID

  • 401

    The client request has not been completed because it lacks valid authentication credentials for the requested resource.

  • 403

    The client does not have access rights to the content.

  • 404

    The record doesn't exist.

  • 405

    The request method is known by the server but is not supported by the target resource.

DELETE /api/v2.0/labels/{label_id}
curl \
 -X DELETE https://openapi.niftypm.com/api/v2.0/labels/{label_id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response example (200)
{
  "message": "string",
  "id": "string"
}
Response example (204)
{
  "message": "string",
  "id": "string"
}