Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Delete all relations with matching resourceIds for a list of resources
DESCOPE_DELETE_RESOURCE_RELATIONS_FOR_RESOURCESDelete all relations with matching resourceIds for a list of resources. Delete all relations for the given list of resources in which they are the resource.
Delete resources batch
DESCOPE_DELETE_RESOURCESDelete resources batch. Delete multiple resources, including MCP servers (type "mcp"), using a valid management key. Resources managed by an agent gateway cannot be deleted directly.
Delete Role
DESCOPE_DELETE_ROLEPermanently delete one project-level or tenant-scoped Descope role by name or ID. This irreversible operation cannot be undone and can immediately revoke authorization from users assigned to the role.
Batch Delete Roles
DESCOPE_DELETE_ROLESBatch Delete Roles. ### Delete roles in batch, using a valid management key. This API endpoint allows administrators to delete roles in batch. The endpoint takes the following one parameter: - roleNames (required) ### See also - See [User Authorization](/manage/roles/) for further details on managing roles and permissions.
Delete an authz schema
DESCOPE_DELETE_SCHEMADelete an authz schema. Delete an authz schema thus removing authz from your project.
Delete Scope Claim Mapping
DESCOPE_DELETE_SCOPE_CLAIM_MAPPINGDelete Scope Claim Mapping. Remove the project-wide scope-to-claims mapping.
Delete session classification
DESCOPE_DELETE_SESSION_CLASSIFICATIONDelete session classification. Delete a session classification by name, using a valid management key. Users assigned to it are left without a group.
Delete Application
DESCOPE_DELETE_SSOAPPLICATIONDelete Application. ### Delete an Application within a project This endpoint deletes an Application within your Descope project. ### See Also - Review our [documentation](/manage/idpapplications/) around Applications within Descope.
Delete SSO application custom attribute definitions
DESCOPE_DELETE_SSOAPPLICATION_CUSTOM_ATTRIBUTEDelete SSO application custom attribute definitions. Delete SSO application custom attribute definitions, using a valid management key.
Delete SSO application permission
DESCOPE_DELETE_SSOAPPLICATION_PERMISSIONDelete SSO application permission. Delete an SSO application permission by application id and permission id, using a valid management key. The permission is detached from any roles that reference it.
Delete SSO application role
DESCOPE_DELETE_SSOAPPLICATION_ROLEDelete SSO application role. Delete an SSO application role by application id and role id, using a valid management key. Any user or service account assignments of the role are removed.
Delete Tenant's SAML/OIDC Settings
DESCOPE_DELETE_SSOSETTINGSDelete Tenant's SAML/OIDC Settings. ### Delete the current SAML/OIDC configuration settings of a tenant, using a valid management key. This API endpoint allows you to delete the current SAML/OIDC configuration settings of a tenant. Use this with caution as this endpoint deletes the configuration and is irreversible. ### See also - See [SSO Configuration](/sso) for further details on managing SSO Configurations on a tenant.
Delete Tenant
DESCOPE_DELETE_TENANTPermanently delete one Descope tenant. This irreversible operation cannot be undone. By default, users and access keys associated only with the tenant are preserved; cascade=true permanently deletes those identities and keys too.
Delete tenant attribute
DESCOPE_DELETE_TENANT_ATTRIBUTEDelete tenant attribute. Delete a single tenant custom attribute definition by machine name (no-op if absent), using a valid management key.
Delete tenant auth access policy rule
DESCOPE_DELETE_TENANT_AUTH_ACCESS_RULEDelete tenant auth access policy rule. Delete a single tenant-level auth access policy rule by id, using a valid management key.
Delete Tenants Batch
DESCOPE_DELETE_TENANTS_BATCHDelete Tenants Batch. Delete multiple tenants in a single batch, using a valid management key. Each tenant is deleted independently; per-tenant failures are returned in the response body.
Delete Tenant Theme
DESCOPE_DELETE_TENANT_THEMEDelete Tenant Theme. Delete a tenant's theme, using a valid management key. Flows for that tenant render with the project theme again. Returns 404 when the tenant has no theme of its own.
Delete third party application
DESCOPE_DELETE_THIRD_PARTY_APPLICATIONDelete third party application. Delete a third party application, using a valid management key.
Delete third party application consents
DESCOPE_DELETE_THIRD_PARTY_APPLICATION_CONSENTSDelete third party application consents. Delete OAuth user consents for [Inbound Apps](/identity-federation/inbound-apps). Provide `consentIds`, or filter by `appId`, `userIds`, and optional `tenantId`. To revoke [agentic identities](/agentic-identity-hub/core-components/agents), use [Revoke agentic identities](/api/management/agentic-identity-hub/revoke-agentic-identities) instead — it scopes deletion to agentic consents and supports `clientId` and `resourceId` filters.
Batch delete third party applications
DESCOPE_DELETE_THIRD_PARTY_APPLICATIONSBatch delete third party applications. Delete multiple third party applications in batch, using a valid management key.