Delete

DELETE /api/locations/{location_id}

Delete a location

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/locations/{location_id}
curl \
 -X DELETE https://metropolitanabolivia.org/api/locations/{location_id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (422)
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}