/v1/mgmt/tenant/updateAuthorization
Descope Project ID and Management Key Project ID:Management Key as bearer token.
In: header
Request Body
application/json
1 <= length1 <= length <= 254Custom attributes as key-value pairs. Keys must be strings; values can be strings, numbers, booleans, or arrays.
{
"attribute-key": "attribute-value"
}deprecated - authType should be set via ConfigureTenantSettings
Represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values.
Permission names or IDs whose holders in the tenant may sign in without SSO while enforceSSO is on (break-glass accounts)
When true, setting custom attributes the project does not declare for tenants returns error E111843 listing them: the request fails and nothing is saved. When false (default), those keys are ignored. An attribute declared in the last few seconds may still be ignored.
Update a tenant, using a valid management key.
This API endpoint will update a tenant utilizing a valid management key. Utilizing this API endpoint will allow you to update the name or selfProvisioningDomains settings of the tenant.
Next Steps
- You can then add users to the tenant via Update User or Create User
- You can also apply sso configurations to the tenant via the SSO Management API
See also
- See Tenant Management for further details on managing tenants.
curl -X POST "https://api.descope.com/v1/mgmt/tenant/update" \ -H "Content-Type: application/json" \ -d '{ "id": "string", "name": "string" }'Create Tenant POST
### Create a new tenant, using a valid management key. This API endpoint will create a new tenant utilizing a valid management key. Creation of a new tenant can set the name, id, and selfProvisioningDomains. The id and selfProvisioningDomains are not mandatory. The id will be autogenerated if not provided. The response will always include the tenantId. ### Next Steps - You can then add users to the tenant via [Update User](/api/management/users/update-user) or [Create User](/api/management/users/create-user) - You can also apply sso configurations to the tenant via the [SSO Management API](/api/ssomanagement/) ### See also - See [Tenant Management](/management/tenant-management) for further details on managing tenants.
Delete Tenant POST
### Delete a tenant, using a valid management key. This API endpoint will delete a tenant utilizing a valid management key based on the provided user tenandId. ### See also - See [Tenant Management](/management/tenant-management) for further details on managing tenants.