POST
/v1/mgmt/tenant/update

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

id*string
Length1 <= length
name*string
Length1 <= length
selfProvisioningDomains?array<string>
string
customAttributes?object

Custom attributes as key-value pairs. Keys must be strings; values can be strings, numbers, booleans, or arrays.

Example{ "attribute-key": "attribute-value" }
authType?"none" | "saml" | "oidc" | ""

deprecated - authType should be set via ConfigureTenantSettings

Value in"none" | "saml" | "oidc" | ""
disabled?boolean
enforceSSO?boolean
enforceSSOExclusions?array<string>
string
federatedAppIds?array<string>
string
roleInheritance?"none" | "userOnly" | ""
Value in"none" | "userOnly" | ""
approvedDomains?array<string>
string

The tenant's vanity hostname (e.g. surveys.example.com), unique across the project's tenants. Requests that reach the project through its trusted proxy on this hostname are bound to this tenant. One item for now A list of hostnames, absent keeps the current value and an empty list clears it

enforceSSOExclusionPermissions?array<string>
string

Permission names or IDs whose holders in the tenant may sign in without SSO while enforceSSO is on (break-glass accounts)

strict?boolean

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.

permittedIps?array<string>
string

IP addresses or CIDR ranges added to the permitted IPs of every access key that belongs to the tenant; a key with no permitted IPs of its own is limited to these. Empty means the tenant adds no restriction A list of IP addresses or CIDR ranges, absent keeps the current value and an empty list clears it

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

See also

curl -X POST "https://api.descope.com/v1/mgmt/tenant/update" \  -H "Content-Type: application/json" \  -d '{    "id": "string",    "name": "string"  }'
Was this helpful?