Remove Labels From User

DELETE /api/users/{user_id}/labels

Remove labels from the user

application/json

Body Required

  • labels array[object] Required
    Hide labels attribute Show labels attribute object
    • id string Required

      Minimum length is 26, maximum length is 26.

Responses

  • Successful Response

  • 422 application/json

    Validation Error

    Hide response attribute Show response attribute object
    • detail array[object]
      Hide detail attributes Show detail attributes object
DELETE /api/users/{user_id}/labels
curl \
 -X DELETE https://metropolitanabogota.org/api/users/{user_id}/labels \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"labels":[{"id":"string"}]}'
Request example
{
  "labels": [
    {
      "id": "string"
    }
  ]
}
Response examples (422)
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}