Skip to main content
POST
/
identity
/
v1
/
organizations
/
{organizationId}
/
enable
Enables an organization by clearing its deactivation timestamp.
curl --request POST \
  --url https://api.sandbox.tesouro.com/identity/v1/organizations/{organizationId}/enable \
  --header 'Authorization: Bearer <token>'
{
  "isEnabled": true,
  "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

organizationId
string<uuid>
required

The organization ID to enable.

Response

Organization enabled successfully.

isEnabled
boolean
required
organizationId
string<uuid>
required