Skip to main content
DELETE
/
identity
/
v1
/
locations
/
{locationId}
Deactivates a location in the caller's organization.
curl --request DELETE \
  --url https://api.sandbox.tesouro.com/identity/v1/locations/{locationId} \
  --header 'Authorization: Bearer <token>'
{
  "detail": "<string>",
  "instance": "<string>",
  "status": 123,
  "title": "<string>",
  "type": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

locationId
string<uuid>
required

The ID of the location to deactivate.

Response

Location deactivated successfully.