Volver al catálogo

Descope

descope

Manage Descope projects, users, tenants, authorization, authentication settings, audit data, and other administrative resources.

Acciones
449
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (449)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Activate Access KeyDESCOPE_ACTIVATE_ACCESS_KEYAcción

Activate Access Key. ### Activate an existing access key, using a valid management key. This API endpoint allows administrators to activate an existing access key. ### Next Steps Once you have reactivated the access key, you can utilize it to configure external items such as [SCIM](/api/scimmanagement/), or use it to [exchange for a JWT](/api/access-keys/exchange-key). ### See also - See [Access Key Management](/access-keys) for further details on managing access keys.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch Activate Access KeysDESCOPE_ACTIVATE_ACCESS_KEYSAcción

Batch Activate Access Keys. ### Activate existing access keys in batch, using a valid management key. This API endpoint allows administrators to activate existing access keys in batch. ### Next Steps Once you have reactivated the access key, you can utilize it to configure external items such as [SCIM](/api/scimmanagement/), or use it to [exchange for a JWT](/api/access-keys/exchange-key). ### See also - See [Access Key Management](/access-keys) for further details on managing access keys.

Parámetros de entrada

  • idsstring[]

    Descope field ids.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Activate SCIM Access KeysDESCOPE_ACTIVATE_SCIMACCESS_KEYSAcción

Activate SCIM Access Keys. Re-enable specific deactivated SCIM access keys of a tenant, using a valid management key. This reverses a revoke that used revokeMode DEACTIVATE; keys that were deleted cannot be restored. The keys to activate must be named explicitly - call Load SCIM Access Keys to get their ids - so that a key deactivated because its secret leaked is never restored as a side effect.

Parámetros de entrada

  • sso_idstring

    The SSO configuration the keys belong to. Omit it to target the tenant's default configuration - it does NOT mean "every configuration".

  • key_idsstring[]Obligatorio

    The keys to activate, from LoadSCIMAccessKeys. Required and explicit on purpose: activating a whole configuration would silently restore a key an operator had deactivated because its secret leaked. Ids that are not SCIM keys of this tenant and configuration are rejected.

  • tenant_idstringObligatorio

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add IPs to ListDESCOPE_ADD_IPS_TO_LISTAcción

Add IPs to List. Add one or more IPs to an existing IP list

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • ipsstring[]Obligatorio

    Descope field ips.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add a named SSO application secretDESCOPE_ADD_SSOAPPLICATION_SECRETAcción

Add a named SSO application secret. Add a new named OIDC client secret to an SSO application, using a valid management key. Returns the new secret metadata and its cleartext value (shown only once).

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • app_idstringObligatorio

    Descope field appId.

  • expire_timeinteger

    Descope field expireTime.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add Texts to ListDESCOPE_ADD_TEXTS_TO_LISTAcción

Add Texts to List. Add one or more text items to an existing text list

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • textsstring[]Obligatorio

    Descope field texts.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add a named third party application secretDESCOPE_ADD_THIRD_PARTY_APPLICATION_SECRETAcción

Add a named third party application secret. Add a new named client secret to a third party application, using a valid management key. Returns the new secret metadata and its cleartext value (shown only once).

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • namestringObligatorio

    Descope field name.

  • expire_timeinteger

    Descope field expireTime.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Anonymous UserDESCOPE_ANONYMOUSAcción

Anonymous User. ### Anonymous User Anonymous Users are identified with a unique Descope JWT type. Eventually, create a token that we can use as the defined anonymous identity. Signed by Descope. For more info, please refer to our anonymous users documentation.

Parámetros de entrada

  • rolesstring[]

    Descope field roles.

  • custom_claimsobject

    Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.

  • selected_tenantstring

    Descope field selectedTenant.

  • refresh_durationinteger

    Descope field refreshDuration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Apply JWT Template From LibraryDESCOPE_APPLY_JWT_TEMPLATE_FROM_LIBRARYAcción

Apply JWT Template From Library. Materialise a library entry as a new project JWT template. Optional overrides let the caller pick a different name, swap tags, or amend the claim body before save. Strict validation runs as if it were a create.

Parámetros de entrada

  • name_overridestring

    Optional overrides applied on top of the library entry before save.

  • tags_overridestring[]

    Descope field tagsOverride.

  • library_entry_idstringObligatorio

    Descope field libraryEntryId.

  • template_overrideobject

    Descope field templateOverride.

  • description_overridestring

    Descope field descriptionOverride.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

AuthZEN Action SearchDESCOPE_AUTH_ZEN_ACTION_SEARCHAcción

AuthZEN Action Search. Return the actions the subject may perform on the given resource (OpenID AuthZEN Action Search API).

Parámetros de entrada

  • contextobject

    Descope field context.

  • subjectobjectObligatorio

    Descope field subject.

  • resourceobjectObligatorio

    Descope field resource.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

AuthZEN Access EvaluationDESCOPE_AUTH_ZEN_EVALUATIONAcción

AuthZEN Access Evaluation. Evaluate a single OpenID AuthZEN Access Evaluation request.

Parámetros de entrada

  • actionobjectObligatorio

    Descope field action.

  • contextobject

    Optional flat key-value context map for evaluating ABAC conditions

  • subjectobjectObligatorio

    Descope field subject.

  • resourceobjectObligatorio

    Descope field resource.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

AuthZEN Access EvaluationsDESCOPE_AUTH_ZEN_EVALUATIONSAcción

AuthZEN Access Evaluations. Evaluate a batch of OpenID AuthZEN Access Evaluation requests, with optional default values and combining semantics (execute_all, deny_on_first_deny, permit_on_first_permit).

Parámetros de entrada

  • actionobject

    Descope field action.

  • contextobject

    Descope field context.

  • optionsobject

    Options controlling how a batch of evaluations is executed (spec §7.1.2).

  • subjectobject

    Top-level default subject/resource/action/context applied to each evaluation when omitted there.

  • resourceobject

    Descope field resource.

  • evaluationsobject[]

    Descope field evaluations.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

AuthZEN Resource SearchDESCOPE_AUTH_ZEN_RESOURCE_SEARCHAcción

AuthZEN Resource Search. Return the resources of the given type the subject may access with the given action (OpenID AuthZEN Resource Search API).

Parámetros de entrada

  • actionobjectObligatorio

    Descope field action.

  • contextobject

    Descope field context.

  • subjectobjectObligatorio

    Descope field subject.

  • resourceobjectObligatorio

    Required (spec §8.5.1): MUST carry a type (selects the namespace, echoed onto each result); the id is omitted/ignored.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

AuthZEN Subject SearchDESCOPE_AUTH_ZEN_SUBJECT_SEARCHAcción

AuthZEN Subject Search. Return the subjects permitted to perform the given action on the given resource (OpenID AuthZEN Subject Search API).

Parámetros de entrada

  • actionobjectObligatorio

    Descope field action.

  • contextobject

    Descope field context.

  • subjectobjectObligatorio

    Required (spec §8.4.1): MUST carry a type (echoed onto each result); the id is omitted/ignored.

  • resourceobjectObligatorio

    Descope field resource.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch Upload Outbound App Tenant OAuth TokensDESCOPE_BATCH_UPLOAD_OUTBOUND_APP_TENANT_OAUTH_TOKENSAcción

Batch Upload Outbound App Tenant OAuth Tokens. ### Batch upload tenant OAuth tokens for an outbound application Import pre-existing tenant-scoped OAuth tokens in a single request. This operation is all-or-nothing: if any token fails validation, the entire batch is rejected and no tokens are committed. Fix the reported failures and retry the full batch. Requires a management key.

Parámetros de entrada

  • tokensobject[]Obligatorio

    Descope field tokens.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch Upload Outbound App User OAuth TokensDESCOPE_BATCH_UPLOAD_OUTBOUND_APP_USER_OAUTH_TOKENSAcción

Batch Upload Outbound App User OAuth Tokens. ### Batch upload user OAuth tokens for an outbound application Import pre-existing user-scoped OAuth tokens in a single request. This operation is all-or-nothing: if any token fails validation, the entire batch is rejected and no tokens are committed. Fix the reported failures and retry the full batch. Requires a management key.

Parámetros de entrada

  • tokensobject[]Obligatorio

    Descope field tokens.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check FGA PermissionDESCOPE_CHECKAcción

Check FGA Permission. ### Check FGA permission This endpoint allows you to check if a target has a specific relation to a resource using Fine-Grained Authorization.

Parámetros de entrada

  • tuplesobject[]

    Deprecated: prefer checkTuples; kept for backwards compatibility.

  • contextobject

    Optional flat key-value context map for evaluating ABAC conditions; applies to all tuples unless a checkTuples entry carries its own context.

  • check_tuplesobject[]

    Optional per-tuple-context variant. Set either tuples or checkTuples (not both); each checkTuple's context overrides the request-level context above.

  • compute_pathsboolean

    Descope field computePaths.

  • list_conditionsboolean

    When true, include per-tuple evaluated conditions and their results in the response

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check IP in ListDESCOPE_CHECK_IPIN_LISTAcción

Check IP in List. Check if a specific IP exists in a list

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • ipstringObligatorio

    Descope field ip.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check Text in ListDESCOPE_CHECK_TEXT_IN_LISTAcción

Check Text in List. Check if a text exists in a list. Send `texts` to check several texts in one request: `exists` is true if any of them is in the list, or only if all of them are when `matchAll` is true.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • textstring

    Descope field text.

  • textsstring[]

    Descope field texts.

  • match_allboolean

    When true, exists is true only if every text is in the list, otherwise if any is

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Clear ListDESCOPE_CLEAR_LISTAcción

Clear List. Clear all IPs from a list

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Clone ProjectDESCOPE_CLONE_PROJECTAcción

Clone Project. ### Clone a project utilizing a management key. This endpoint allows you to clone the current project, including its settings and configurations. _Note: This requires a pro or enterprise tier licenses. Users, tenants and access keys are not cloned._ ### See Also - See [Managing Environments](/customize/environments/) for details about managing environments.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • tagsstring[]

    Descope field tags.

  • environmentstring

    Descope field environment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Clone Project (Async)DESCOPE_CLONE_PROJECT_ASYNCAcción

Clone Project (Async). Clone a project, including its settings and configurations. Users, tenants and access keys are not cloned. This API is asynchronous and will return a unique ID that can be used to track the progress of the clone operation.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • tagsstring[]

    Descope field tags.

  • environmentstring

    Descope field environment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Complete External AuthenticationDESCOPE_COMPLETE_EXTERNAL_AUTH_FLOWAcción

Complete External Authentication. Complete an external authentication flow step. Called by the customer's backend after authenticating the user on their own page. Requires a valid management key.

Parámetros de entrada

  • userobject

    Descope field user.

  • login_idstringObligatorio

    Descope field loginId.

  • user_tenantsobject[]

    Descope field userTenants.

  • custom_claimsobject

    Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.

  • email_verifiedboolean

    Descope field emailVerified.

  • phone_verifiedboolean

    Descope field phoneVerified.

  • selected_tenant_idstring

    Descope field selectedTenantId.

  • external_auth_req_idstringObligatorio

    Descope field externalAuthReqId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Tenant Password SettingsDESCOPE_CONFIGURE_PASSWORD_SETTINGSAcción

Update Tenant Password Settings. ### Update password settings for a tenant This endpoint allows you to update the password settings of a given tenant. ### See Also - See [tenant password settings](/customize/tenant#passwords) for details about tenant password settings.

Parámetros de entrada

  • lockboolean

    Descope field lock.

  • reuseboolean

    Descope field reuse.

  • numberboolean

    Descope field number.

  • enabledboolean

    Descope field enabled.

  • lowercaseboolean

    Descope field lowercase.

  • temp_lockboolean

    Descope field tempLock.

  • tenant_idstring

    Descope field tenantId.

  • uppercaseboolean

    Descope field uppercase.

  • any_letterboolean

    Descope field anyLetter.

  • expirationboolean

    Descope field expiration.

  • min_lengthintegerObligatorio

    Descope field minLength.

  • reuse_amountintegerObligatorio

    Descope field reuseAmount.

  • lock_attemptsintegerObligatorio

    Descope field lockAttempts.

  • expiration_weeksintegerObligatorio

    Descope field expirationWeeks.

  • non_alphanumericboolean

    Descope field nonAlphanumeric.

  • temp_lock_attemptsinteger

    Descope field tempLockAttempts.

  • temp_lock_durationinteger

    Descope field tempLockDuration.

  • disallow_email_matchboolean

    Descope field disallowEmailMatch.

  • disallowed_charactersstring

    Descope field disallowedCharacters.

  • password_strength_scoreinteger

    Descope field passwordStrengthScore.

  • enable_password_strengthboolean

    Descope field enablePasswordStrength.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enable or disable an SSO configurationDESCOPE_CONFIGURE_SSOAUTH_TYPEAcción

Enable or disable an SSO configuration. Set the authentication type of a tenant SSO configuration, using a valid management key. Setting it to none disables the configuration without deleting it, and setting it back to saml or oidc re-enables it with its stored settings.

Parámetros de entrada

  • sso_idstring

    Descope field ssoId.

  • auth_typestringObligatorio

    Descope field authType.

  • tenant_idstringObligatorio

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Tenant's OIDC SettingsDESCOPE_CONFIGURE_SSOOIDCSETTINGSAcción

Set Tenant's OIDC Settings. ### Configure the OIDC settings of a tenant, using a valid management key. This API endpoint will configure the OIDC settings on a tenant utilizing a valid management key. This endpoint accepts the OIDC configuration settings as well as the attribute mapping you would like to be configured on the SAML settings. ### See also - See [SSO Configuration](/sso) for further details on managing SSO Configurations on a tenant.

Parámetros de entrada

  • sso_idstring

    Descope field ssoId.

  • domainsstring[]

    Descope field domains.

  • settingsobjectObligatorio

    Descope field settings.

  • tenant_idstringObligatorio

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Configure SSO Redirect URLDESCOPE_CONFIGURE_SSOREDIRECT_URLAcción

Configure SSO Redirect URL. Configure tenant SSO Redirect URL, using a valid management key.

Parámetros de entrada

  • sso_idstring

    Descope field ssoId.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • saml_redirect_urlstring

    Descope field samlRedirectUrl.

  • oauth_redirect_urlstring

    Descope field oauthRedirectUrl.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Tenant's SAML SettingsDESCOPE_CONFIGURE_SSOSAMLSETTINGSAcción

Set Tenant's SAML Settings. ### Configure the SAML Settings, using a valid management key. This API endpoint will configure the SAML settings on a tenant utilizing a valid management key. This API endpoint accepts idpURL, entityId, idpCert, and redirectURL which will be applied to the tenant under SSO Configuration section and will select the option to "Enter the connection details manually" This endpoint also accepts the attribute mapping you would like to be configured on the SAML settings. These configurations will need to be captured directly from your idp provider. The values for each field can be obtained from the admin console of the identity provider. Alternatively, administrators can configure SAML without applying these setting manually via [Configure SAML Metadata URL](/api/management/tenants/sso/configure-sso-saml-settings-by-metadata) ### See also - See [SSO Configuration](/sso) for further details on managing SSO Configurations on a tenant.

Parámetros de entrada

  • sso_idstring

    Descope field ssoId.

  • domainsstring[]

    Descope field domains.

  • settingsobjectObligatorio

    Descope field settings.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • redirect_urlstring

    Descope field redirectUrl.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Tenant's SAML Settings via Metadata URLDESCOPE_CONFIGURE_SSOSAMLSETTINGS_BY_METADATAAcción

Set Tenant's SAML Settings via Metadata URL. ### Configure the SAML Metadata URL, using a valid management key. This API endpoint will configure the SAML Metadata URL on a tenant utilizing a valid management key. This API endpoint accepts idpMetadataURL which will be applied to the tenant under SSO Configuration section and will select the option to "Retrieve the connection details dynamically using a metadata URL" This endpoint also accepts the attribute mapping you would like to be configured on the SAML settings. This Metadata URL can can be obtained from the admin console of the identity provider. Configuring SAML via Metadata URL allows administrators to configure SAML without applying these setting manually via [Configure SAML Settings](/api/management/tenants/sso/configure-sso-saml-settings) ### See also - See [SSO Configuration](/sso) for further details on managing SSO Configurations on a tenant.

Parámetros de entrada

  • sso_idstring

    Descope field ssoId.

  • domainsstring[]

    Descope field domains.

  • settingsobjectObligatorio

    Descope field settings.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • redirect_urlstring

    Descope field redirectUrl.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Tenant Session SettingsDESCOPE_CONFIGURE_TENANT_SETTINGSAcción

Update Tenant Session Settings. ### Update session settings for a tenant This endpoint allows you to update the session settings of a given tenant. ### See Also - See [tenant session settings](/customize/tenant#session-management) for details about tenant session settings.

Parámetros de entrada

  • domainsstring[]

    Descope field domains.

  • enabledboolean

    Descope field enabled.

  • auth_typestring

    Descope field authType.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • jitdisabledboolean

    Descope field JITDisabled.

  • inactivity_timeinteger

    Descope field inactivityTime.

  • enable_inactivityboolean

    Descope field enableInactivity.

  • inactivity_time_unitstring

    Descope field inactivityTimeUnit.

  • stepup_token_expirationinteger

    Descope field stepupTokenExpiration.

  • refresh_token_expirationinteger

    Descope field refreshTokenExpiration.

  • session_token_expirationinteger

    Descope field sessionTokenExpiration.

  • sso_setup_suite_settingsobject

    Descope field ssoSetupSuiteSettings.

  • self_provisioning_domainsstring[]

    Descope field selfProvisioningDomains.

  • stepup_token_expiration_unitstring

    Descope field stepupTokenExpirationUnit.

  • refresh_token_expiration_unitstring

    Descope field refreshTokenExpirationUnit.

  • session_token_expiration_unitstring

    Descope field sessionTokenExpirationUnit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Access KeyDESCOPE_CREATE_ACCESS_KEYAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Create Access Key. ### Create an access key, using a valid management key. This API endpoint allows administrators to create an access key. During the creation of the access key, you can set the name, expiration time, roles and tenant:role pairs to associated with the key. ### Next Steps Once you have the access key, you can utilize it to configure external items such as [SCIM](/api/scimmanagement/), or use it to [exchange for a JWT](/api/access-keys/exchange-key). ### See also - See [Access Key Management](/access-keys) for further details on managing access keys.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • user_idstring

    Descope field userId.

  • role_namesstring[]

    Descope field roleNames.

  • descriptionstring

    Descope field description.

  • expire_timestring

    Descope field expireTime.

  • key_tenantsobject[]

    Descope field keyTenants.

  • custom_claimsobject

    Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.

  • permitted_ipsstring[]

    Descope field permittedIps.

  • custom_attributesobject

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

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Audit EventDESCOPE_CREATE_AUDIT_EVENTAcción

Create Audit Event. ### Create an audit log event, using a valid management key. This API endpoint allows you to create an audit log utilizing various parameters and returns the results in JSON format.

Parámetros de entrada

  • dataobject

    Descope field data.

  • typestringObligatorio

    Descope field type.

  • actionstringObligatorio

    Descope field action.

  • user_idstring

    Descope field userId.

  • actor_idstringObligatorio

    Descope field actorId.

  • tenant_idstringObligatorio

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create auth access policy ruleDESCOPE_CREATE_AUTH_ACCESS_RULEAcción

Create auth access policy rule. Create a project-level auth access policy rule. The rule is appended at the end of the evaluation order, using a valid management key.

Parámetros de entrada

  • idstring

    Server-generated, rejected on create and required on update.

  • namestring

    Descope field name.

  • effectstring

    Required on create. Evaluation is first-match.

  • enabledboolean

    Defaults to true on create.

  • conditionsany

    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.

  • descriptionstring

    Descope field description.

  • expire_timeinteger

    Epoch seconds after which the rule is no longer evaluated. 0 means never.

  • created_timeinteger

    int32 epoch seconds: proto3 emits int64 as JSON string. See .claude/rules/proto-files.md.

  • modified_timeinteger

    Descope field modifiedTime.

  • evaluation_orderinteger

    1-based position in the evaluation order, set through the reorder and settings endpoints.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create connectorDESCOPE_CREATE_CONNECTORAcción

Create connector. Create a connector from a template, using a valid management key. `type` is the template id from LoadAllConnectorTemplates, and `configuration` holds the template's fields by name as GetConnectorTemplate describes them. The server checks the configuration against the template before saving it: required fields must be set, values must match their field's type, allowed options and dependencies, unknown fields are rejected, and missing fields with a default are filled in. Returns the stored connector, with secret values as `PLACEHOLDER_VALUE` and defaults filled in. Messaging provider types such as `sendgrid`, except `smtp`, are stored as messaging providers with ids starting with `MP` and are not checked, since they have no template. A connector does nothing by itself; the template's `types` says how it is used: a `flows` connector is called from a flow by the `connector` action with the connector's id (agents on the Descope MCP find it with GetActionCatalog, query `con

Parámetros de entrada

  • idstring

    The connector id, assigned by the server on create and required on update.

  • namestringObligatorio

    The connector's display name.

  • typestringObligatorio

    The connector template id, such as `http`, which cannot change after create. LoadAllConnectorTemplates lists the available templates.

  • statusstring

    Either `enabled` or `disabled`, defaults to `enabled` on create. A disabled connector is not run by flows or automatic triggers; audit streaming ignores `status` and follows the template's `auditEnabled` configuration field if it has one, and is otherwise always on. While its secrets are placeholders, create a connector `disabled`, also set `auditEnabled: false` on an audit connector whose template has that field, and enable it once the real values are in.

  • descriptionstring

    A free text description of the connector.

  • configurationobject

    The template's configuration fields by name, as GetConnectorTemplate describes them. Checked against the template on create and update, with missing defaults filled in; not checked for messaging providers, which have no template. Secret values are returned as `PLACEHOLDER_VALUE`, and sending that value back keeps the stored secret.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create DescoperDESCOPE_CREATE_DESCOPERSAcción

Create Descoper. Create a descoper

Parámetros de entrada

  • descopersobject[]Obligatorio

    Descope field descopers.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create dynamic registration templateDESCOPE_CREATE_DYNAMIC_REGISTRATION_TEMPLATEAcción

Create dynamic registration template. Create a new dynamic registration template, using a valid management key.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • tagsstring[]

    Descope field tags.

  • descriptionstring

    Descope field description.

  • login_page_urlstring

    Descope field loginPageURL.

  • session_settingsobject

    Descope field sessionSettings.

  • skip_consent_screenboolean

    Descope field skipConsentScreen.

  • fallback_client_logostring

    Descope field fallbackClientLogo.

  • force_add_all_authorization_infoboolean

    Descope field forceAddAllAuthorizationInfo.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create engineDESCOPE_CREATE_ENGINEAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Create engine. Create a new engine, returning its ID and secret. Requires a valid management key.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create FamilyDESCOPE_CREATE_FAMILYAcción

Create Family. Create a family, using a valid management key.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • photostring

    Descope field photo.

  • disabledboolean

    Descope field disabled.

  • family_idstring

    familyId - optional caller-supplied family ID; a random one is generated when omitted. Not validated as descope_id since a caller-supplied ID need not match Descope's own generated-ID format.

  • custom_attributesobject

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

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Family Custom AttributeDESCOPE_CREATE_FAMILY_CUSTOM_ATTRIBUTEAcción

Create Family Custom Attribute. Create one or more custom attribute definitions on the family entity, using a valid management key.

Parámetros de entrada

  • attributesobject[]

    Descope field attributes.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Family DependentDESCOPE_CREATE_FAMILY_DEPENDENTAcción

Create Family Dependent. Create a dependent (shadow profile) user in a family

Parámetros de entrada

  • namestring

    Descope field name.

  • emailstring

    Descope field email.

  • phonestring

    Descope field phone.

  • picturestring

    Descope field picture.

  • login_idstring

    when the login ID is missing it is derived from the name; email/phone are never used as the login ID (they are not unique - a dependent may share them with their guardian)

  • family_idstringObligatorio

    the family to create the dependent in

  • given_namestring

    Descope field givenName.

  • family_namestring

    Descope field familyName.

  • middle_namestring

    Descope field middleName.

  • custom_attributesobject

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

  • family_scoped_attributesobject

    Descope field familyScopedAttributes.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create FGA BackupDESCOPE_CREATE_FGABACKUPAcción

Create FGA Backup. Create a new FGA backup.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create FGA RelationsDESCOPE_CREATE_FGARELATIONSAcción

Create Fine-Grained Authorization relation tuples. This mutates the FGA relationship graph; use GET_FGARELATIONS to retrieve existing relations.

Parámetros de entrada

  • tuplesobject[]

    Descope field tuples.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Save FGA SchemaDESCOPE_CREATE_FGASCHEMAAcción

Save FGA Schema. ### Save FGA schema This endpoint allows you to save (create or update) the Fine-Grained Authorization schema for your project.

Parámetros de entrada

  • dslstringObligatorio

    Descope field dsl.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create governance access requestDESCOPE_CREATE_GOVERNANCE_ACCESS_REQUESTAcción

Create governance access request. Create an Agentic Governance Suite access request to provision an agent client on behalf of a developer, using a valid management key. The requestorUserId is required and must be an existing, active console user in your company; the requestor name is taken from that user's record (display name, else email, else the user id), and any requestorName sent is ignored. When auto-approval is on and the current policies already permit the request, it is approved and the client provisioned immediately. Requires the Agentic Governance Suite in the company license, and fails while the suite is disabled.

Parámetros de entrada

  • scopesstring[]

    Descope field scopes.

  • targetsobject[]

    The resources and connections the client asks to reach.

  • client_namestring

    The name for the agent client.

  • client_typestring

    The type of agent client requested.

  • grant_typesstring[]

    The OAuth grant types requested: authCode, clientCredentials, jwtBearer or ciba.

  • justificationstring

    The requester's reason for the request.

  • requestor_user_idstringObligatorio

    The console user the request is raised for.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create JWT TemplateDESCOPE_CREATE_JWT_TEMPLATEAcción

Create JWT Template. Create a new JWT template. Strict validation runs first — if it fails, the response carries a list of `ValidationIssue`s with stable codes (RESERVED_CLAIM_KEY, NAME_MISSING, …) and the template is not saved. type must be "user" or "key". authSchema in {default,tenantOnly,none}. issuerType in {legacy,inbound,federated}. emptyClaimPolicy in {none,nil,delete}. The `template` field is the JSON object whose keys are claim names.

Parámetros de entrada

  • templateobjectObligatorio

    Descope field template.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ListDESCOPE_CREATE_LISTAcción

Create List. Create a new list

Parámetros de entrada

  • dataany

    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.

  • namestringObligatorio

    Descope field name.

  • typestring

    Descope field type.

  • descriptionstring

    Descope field description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Management KeyDESCOPE_CREATE_MANAGEMENT_KEYAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Create Management Key. Create a management key using another management key.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • re_bacobjectObligatorio

    Only one kind of roles is granted: company roles, otherwise project roles, otherwise tag roles. Every role is granted on every listed project or tag, up to 20000 grants in total.

  • expires_instring

    Descope field expiresIn.

  • descriptionstring

    Descope field description.

  • expire_timestring

    Descope field expireTime.

  • permitted_ipsstring[]

    Descope field permittedIps.

  • trusted_issuerobject

    Descope field trustedIssuer.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create MCP Server ClientDESCOPE_CREATE_MCP_SERVER_CLIENTAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Create MCP Server Client. Create an MCP Server Client, using a valid management key.

Parámetros de entrada

  • logostring

    Descope field logo.

  • namestringObligatorio

    Descope field name.

  • tagsstring[]

    Descope field tags.

  • scopesstring[]

    Descope field scopes.

  • mcp_server_idstringObligatorio

    Descope field mcpServerId.

  • allowed_tenantsstring[]

    Descope field allowedTenants.

  • approved_callback_urlsstring[]

    Descope field approvedCallbackUrls.

  • force_add_all_authorization_infoboolean

    Descope field forceAddAllAuthorizationInfo.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create templateDESCOPE_CREATE_MESSAGING_TEMPLATEAcción

Create template. Create a message template for an auth method and delivery channel, using a valid management key. The created template is returned with its server-generated id.

Parámetros de entrada

  • idstring

    Descope field id.

  • bodystring

    Descope field body.

  • namestringObligatorio

    Descope field name.

  • typestringObligatorio

    Descope field type.

  • methodstringObligatorio

    Descope field method.

  • subjectstring

    The fields below apply to email templates only: requests that carry them for other template types are rejected, and responses omit them. Like the fields above they're written as given on updates, so an omitted field is cleared rather than preserved.

  • body_plain_textstring

    Descope field bodyPlainText.

  • use_body_plain_textboolean

    Descope field useBodyPlainText.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Outbound AppDESCOPE_CREATE_OUTBOUND_APPAcción

Create Outbound App. ### Create outbound application This endpoint allows you to create a new outbound application.

Parámetros de entrada

  • idstring

    Descope field id.

  • logostring

    Descope field logo.

  • namestringObligatorio

    Descope field name.

  • pkceboolean

    Descope field pkce.

  • promptstring[]

    Descope field prompt.

  • dcr_urlstring

    Descope field dcrUrl.

  • use_dcrboolean

    Descope field useDcr.

  • app_typestring

    Descope field appType.

  • client_idstring

    string templateId = 4 [(validate).string = {std_len: true , optional: true}]; - will always be custom

  • tenant_idstring

    Descope field tenantId.

  • token_urlstring

    Descope field tokenUrl.

  • use_nonceboolean

    Send a nonce on the authorization request and require the token response to carry an id_token with the same nonce.

  • access_typestring

    Descope field accessType.

  • descriptionstring

    Descope field description.

  • client_secretstring

    Descope field clientSecret.

  • discovery_urlstring

    Descope field discoveryUrl.

  • default_scopesstring[]

    Descope field defaultScopes.

  • revocation_urlstring

    Descope field revocationUrl.

  • callback_domainstring

    Descope field callbackDomain.

  • token_url_paramsobject[]

    Descope field tokenUrlParams.

  • authorization_urlstring

    Descope field authorizationUrl.

  • default_redirect_urlstring

    Descope field defaultRedirectUrl.

  • authorization_url_paramsobject[]

    Descope field authorizationUrlParams.

  • token_endpoint_auth_methodstring

    Token endpoint client authentication method. Empty or "client_secret" sends clientSecret as the client secret; "private_key_jwt" signs an RFC 7523 client assertion with the project signing key published in the project JWKS.

  • token_endpoint_auth_signing_algstring

    Client assertion signing algorithm used with private_key_jwt. Empty means RS256.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create outbound application according to existing dcr presetDESCOPE_CREATE_OUTBOUND_APP_BY_DCR_PRESETAcción

Create outbound application according to existing dcr preset. Create a new outbound application according to existing dcr preset, using a valid management key.

Parámetros de entrada

  • tenant_idstring

    Descope field tenantId.

  • dcr_preset_idstringObligatorio

    Descope field dcrPresetId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create outbound application by existing templateDESCOPE_CREATE_OUTBOUND_APP_BY_TEMPLATEAcción

Create outbound application by existing template. Create a new outbound application by existing template using a valid management key.

Parámetros de entrada

  • idstring

    Descope field id.

  • client_idstring

    Descope field clientId.

  • overridesobject

    Descope field overrides.

  • tenant_idstring

    Descope field tenantId.

  • template_idstringObligatorio

    Descope template ID used by this operation.

  • client_secretstring

    Descope field clientSecret.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create outbound SCIM configurationDESCOPE_CREATE_OUTBOUND_SCIMCONFIGURATIONAcción

Create outbound SCIM configuration. Create a new outbound SCIM configuration, using a valid management key. Configures a SCIM connector that provisions users from a federated application to an external SCIM 2.0 service provider.

Parámetros de entrada

  • app_idstringObligatorio

    Descope field appId.

  • configurationobjectObligatorio

    Descope field configuration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PermissionDESCOPE_CREATE_PERMISSIONAcción

Create Permission. ### Create a permission, using a valid management key. This API endpoint allows administrators to create a new permission. The endpoint takes the following two parameters: - name (required) - description (optional) ### Next Steps Once you have this data, you can utilize the newly created role to [Create Roles](/api/management/roles/create-role) or [Update Roles](/api/management/roles/update-role) ### See also - See [User Authorization](/manage/roles/) for further details on managing roles and permissions.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • descriptionstring

    Descope field description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Bulk Create PermissionsDESCOPE_CREATE_PERMISSIONSAcción

Bulk Create Permissions. Bulk create Permissions, using a valid management key.

Parámetros de entrada

  • permissionsobject[]

    Descope field permissions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create policy ruleDESCOPE_CREATE_POLICY_RULEAcción

Create policy rule. Create a new policy rule row using a valid management key. The id is server-generated.

Parámetros de entrada

  • policy_ruleobject

    Descope field policyRule.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ProjectDESCOPE_CREATE_PROJECTAcción

Create Project. Create a new project in the management key's company, using a valid company-level management key.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • tagsstring[]

    Descope field tags.

  • environmentstring

    Descope field environment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a list of authz relationsDESCOPE_CREATE_RELATIONSAcción

Create a list of authz relations. Create a list of authz relations.

Parámetros de entrada

  • relationsobject[]

    Descope field relations.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create resourceDESCOPE_CREATE_RESOURCEAcción

Create resource. Create a new resource, using a valid management key. A resource is a backend API (type api, the default) or an MCP server (type mcp) that clients get tokens for. The uri is required and must be unique in the project, and the type and uri cannot be changed later. Each scopes.connectionsScopes entry maps a scope that clients request (its name) onto connection (Outbound App) scopes, with values in the form outboundAppId:scope, or outboundAppId:* for every scope of an API key connection.

Parámetros de entrada

  • uristringObligatorio

    Resource URI, used as the access token audience. For an MCP server, this is the MCP server URL and is required.

  • namestringObligatorio

    Descope field name.

  • typestringenum

    The kind of Resource. Use `api` for an API Resource that protects a backend you build, or `mcp` for an MCP Server Resource that serves tools over the Model Context Protocol. Set it on every create request. `dynamicRegistrationSettings` applies only when `type` is `mcp`.

    apimcp
  • scopesobject

    Descope field scopes.

  • descriptionstring

    Descope field description.

  • user_accessstring

    User access to the resource: allow, deny or allowViaPolicy.

  • client_accessstring

    Client access to the resource: allow, deny or allowViaPolicy.

  • id_jag_targetobject

    IdJagTargetSettings configures the ID-JAG (Cross App Access) assertion an inbound app receives when it exchanges a token for this api-typed Resource: an external server (typically a remote MCP server) protected by another authorization server. The values describe the TARGET system that will accept the assertion, not this project. Not allowed on mcp-typed Resources, which this project protects itself.

  • dynamic_registration_settingsobject

    Client registration settings (DCR, CIMD, login page and client defaults). Used by MCP servers.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create RoleDESCOPE_CREATE_ROLEAcción

Create one project-level or tenant-scoped role with an optional permission set.

Parámetros de entrada

  • namestringObligatorio

    Unique role name.

  • defaultboolean

    Whether this is a default role.

  • privateboolean

    Whether this is a private role.

  • tenant_idstring

    Tenant ID for a tenant-scoped role; omit for a project role.

  • descriptionstring

    Human-readable explanation of what the role allows.

  • permission_namesstring[]

    Permission names granted by the role; omit for no permissions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Bulk Create RolesDESCOPE_CREATE_ROLESAcción

Bulk Create Roles. Bulk create Roles, using a valid management key.

Parámetros de entrada

  • rolesobject[]

    Descope field roles.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SCIM Access KeyDESCOPE_CREATE_SCIMACCESS_KEYAcción

Create SCIM Access Key. Create a SCIM access key for a tenant, using a valid management key. The key is scoped to the given tenant and carries the roles and custom claims SCIM requires, so the returned bearer token can be pasted straight into an identity provider's SCIM configuration. Existing SCIM keys for the same SSO configuration stay valid. The cleartext is returned exactly once.

Parámetros de entrada

  • namestring

    Defaults to a name derived from the tenant and SSO configuration.

  • sso_idstring

    The SSO configuration this key provisions into. Omit it to target the tenant's default configuration - it does NOT mean "every configuration".

  • tenant_idstringObligatorio

    Descope field tenantId.

  • descriptionstring

    Descope field description.

  • expire_timestring

    Epoch seconds. 0, the default, means the key never expires. An expired SCIM key stops the identity provider from provisioning, so prefer 0 unless you have a rotation process.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SSO application custom attribute definitionsDESCOPE_CREATE_SSOAPPLICATION_CUSTOM_ATTRIBUTEAcción

Create SSO application custom attribute definitions. Create or update SSO application custom attribute definitions, using a valid management key.

Parámetros de entrada

  • attributesobject[]

    Descope field attributes.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SSO application permissionDESCOPE_CREATE_SSOAPPLICATION_PERMISSIONAcción

Create SSO application permission. Create a permission scoped to an SSO application, using a valid management key.

Parámetros de entrada

  • idstring

    Descope field id.

  • namestringObligatorio

    Descope field name.

  • app_idstringObligatorio

    Descope field appId.

  • descriptionstring

    Descope field description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SSO application roleDESCOPE_CREATE_SSOAPPLICATION_ROLEAcción

Create SSO application role. Create a role scoped to an SSO application, using a valid management key. Role permissionIds must reference permissions of the same application.

Parámetros de entrada

  • idstring

    Descope field id.

  • namestringObligatorio

    Descope field name.

  • app_idstringObligatorio

    Descope field appId.

  • descriptionstring

    Descope field description.

  • role_mappingsstring[]

    Descope field roleMappings.

  • permission_idsstring[]

    Descope field permissionIds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create OIDC ApplicationDESCOPE_CREATE_SSOOIDCAPPLICATIONAcción

Create OIDC Application. ### Create OIDC Application within a project This endpoint creates an OIDC Application within your Descope project. ### See Also - Review our [documentation](/manage/idpapplications/) around Applications within Descope.

Parámetros de entrada

  • idstring

    Descope field id.

  • logostring

    Descope field logo.

  • namestringObligatorio

    Descope field name.

  • claimsstring[]

    Descope field claims.

  • enabledboolean

    Descope field enabled.

  • client_idstring

    Optional: import an existing OIDC client. Both are accepted on create only (immutable afterward); empty means the client_id is computed and the client_secret is generated server-side. The client_id must be unique within the project. The client_secret is returned once on the create response.

  • dark_logostring

    Descope field darkLogo.

  • force_pkceboolean

    Descope field forcePkce.

  • client_typestring

    How the app authenticates as an OAuth client. 'confidential': a dedicated client ID and client secret, for server-side apps. 'public': a dedicated client ID and PKCE with no secret, for native, mobile and single-page apps. These apps normally use the project-level issuer and discovery endpoints. On create, an empty clientType means the legacy Access Key type (the project ID is the client ID, and the issuer and discovery endpoints are per app); accounts that can't use the legacy type get 'confidential' instead. On update, an empty clientType keeps the app's current type.

  • descriptionstring

    Descope field description.

  • client_secretstring

    Descope field clientSecret.

  • login_page_urlstring

    Descope field loginPageUrl.

  • trusted_app_idsstring[]

    trustedAppIds lists sibling SSO apps whose roles are included in this app's JWT under the `trustedApps` claim at login time. Apps where the user has no roles are silently omitted.

  • default_audiencestring

    Default audience policy for issued tokens. Applies only to modern apps (non-empty clientType): 'projectId', 'clientId', 'appId', empty (both), or 'empty' (no aud at all). Legacy apps are unaffected. Mirrors third-party apps.

  • session_settingsobject

    Descope field sessionSettings.

  • assigned_role_idsstring[]

    assignedRoleIds lists project-level roles that grant access to this application. A user holding any of them can access it, in addition to users assigned directly or through their tenant. Additive: it never removes access, so it only changes the outcome for projects that deny applications by default. Tenant scoped roles are rejected.

  • custom_attributesobject

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

  • jwt_bearer_disabledboolean

    Descope field jwtBearerDisabled.

  • jwt_bearer_settingsobject

    Descope field jwtBearerSettings.

  • device_code_disabledboolean

    Descope field deviceCodeDisabled.

  • force_authenticationboolean

    Descope field forceAuthentication.

  • service_account_rolesobject[]

    serviceAccountRoles assigns this app (when client_credentials is enabled) application-roles in its trusted apps; surfaced in its client_credentials token under the `app.trustedApps` claim.

  • trusted_apps_audiencestring

    Audience policy applied to trusted sibling apps' identifiers when appended to the issued token's `aud` (see trustedAppIds). Same value set as defaultAudience: 'projectId' / 'clientId' / 'appId' / empty (=both) / 'empty' (add none). Independent of defaultAudience.

  • approved_redirect_urlsstring[]

    Descope field approvedRedirectUrls.

  • refresh_token_disabledboolean

    Descope field refreshTokenDisabled.

  • back_channel_logout_urlstring

    Descope field backChannelLogoutUrl.

  • mtls_client_auth_methodsobject

    Descope field mtlsClientAuthMethods.

  • well_known_customizationobject

    Descope field wellKnownCustomization.

  • authorization_code_disabledboolean

    Descope field authorizationCodeDisabled.

  • client_credentials_disabledboolean

    Descope field clientCredentialsDisabled.

  • custom_idp_initiated_login_page_urlstring

    Descope field customIdpInitiatedLoginPageUrl.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SAML ApplicationDESCOPE_CREATE_SSOSAMLAPPLICATIONAcción

Create SAML Application. ### Create SAML Application within a project This endpoint creates a SAML Application within your Descope project. ### See Also - Review our [documentation](/manage/idpapplications/) around Applications within Descope.

Parámetros de entrada

  • idstring

    Descope field id.

  • logostring

    Descope field logo.

  • namestringObligatorio

    Descope field name.

  • acs_urlstring

    Descope field acsUrl.

  • enabledboolean

    Descope field enabled.

  • dark_logostring

    Descope field darkLogo.

  • entity_idstring

    Descope field entityId.

  • certificatestring

    Descope field certificate.

  • descriptionstring

    Descope field description.

  • metadata_urlstring

    Descope field metadataUrl.

  • groups_mappingobject[]

    Descope field groupsMapping.

  • login_page_urlstring

    Descope field loginPageUrl.

  • assigned_role_idsstring[]

    assignedRoleIds lists project-level roles that grant access to this application. A user holding any of them can access it, in addition to users assigned directly or through their tenant. Additive: it never removes access, so it only changes the outcome for projects that deny applications by default. Tenant scoped roles are rejected.

  • attribute_mappingobject[]

    Descope field attributeMapping.

  • custom_attributesobject

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

  • use_metadata_infoboolean

    Descope field useMetadataInfo.

  • error_redirect_urlstring

    Descope field errorRedirectUrl.

  • default_relay_statestring

    Descope field defaultRelayState.

  • logout_redirect_urlstring

    Descope field logoutRedirectUrl.

  • force_authenticationboolean

    Descope field forceAuthentication.

  • subject_name_id_typestring

    Descope field subjectNameIdType.

  • acs_allowed_callbacksstring[]

    Descope field acsAllowedCallbacks.

  • subject_name_id_formatstring

    Descope field subjectNameIdFormat.

  • default_signature_algorithmstring

    Descope field defaultSignatureAlgorithm.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SSO WS-Fed IDP applicationDESCOPE_CREATE_SSOWSFED_APPLICATIONAcción

Create SSO WS-Fed IDP application. Create a new SSO WS-Fed IDP application, using a valid management key.

Parámetros de entrada

  • idstring

    Descope field id.

  • logostring

    Descope field logo.

  • namestringObligatorio

    Descope field name.

  • realmstring

    Descope field realm.

  • enabledboolean

    Descope field enabled.

  • dark_logostring

    Descope field darkLogo.

  • reply_urlstring

    Descope field replyUrl.

  • descriptionstring

    Descope field description.

  • groups_mappingobject[]

    Descope field groupsMapping.

  • login_page_urlstring

    Descope field loginPageUrl.

  • assigned_role_idsstring[]

    assignedRoleIds lists project-level roles that grant access to this application. A user holding any of them can access it, in addition to users assigned directly or through their tenant. Additive: it never removes access, so it only changes the outcome for projects that deny applications by default. Tenant scoped roles are rejected.

  • attribute_mappingobject[]

    Descope field attributeMapping.

  • custom_attributesobject

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

  • error_redirect_urlstring

    Descope field errorRedirectUrl.

  • logout_redirect_urlstring

    Descope field logoutRedirectUrl.

  • force_authenticationboolean

    Descope field forceAuthentication.

  • reply_allowed_callbacksstring[]

    Descope field replyAllowedCallbacks.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create TenantDESCOPE_CREATE_TENANTAcción

Create one tenant in the connected Descope project without sending authentication messages.

Parámetros de entrada

  • namestringObligatorio

    Unique name for the new tenant.

  • disabledboolean

    Whether login to the new tenant is disabled.

  • auth_typestring

    Authentication type for the tenant.

  • tenant_idstring

    Unique tenant ID. Omit to let Descope generate one.

  • enforce_ssoboolean

    Whether the new tenant requires SSO login.

  • approved_domainsstring[]

    Tenant vanity hostnames. Descope currently supports one item.

  • parent_tenant_idstring

    Parent tenant ID when creating a subtenant.

  • role_inheritancestringenum

    Role inheritance behavior: an empty string, none, or userOnly. Omit for Descope's default.

    noneuserOnly
  • custom_attributesobject

    Values for tenant custom attributes already configured in the Descope project.

  • federated_app_idsstring[]

    Federated application IDs assigned to the tenant.

  • enforce_sso_exclusionsstring[]

    User IDs exempt from SSO enforcement.

  • self_provisioning_domainsstring[]

    Domains whose authenticating users should join this tenant.

  • enforce_sso_exclusion_permissionsstring[]

    Permission names or IDs allowed to bypass enforced SSO for break-glass access.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create tenant auth access policy ruleDESCOPE_CREATE_TENANT_AUTH_ACCESS_RULEAcción

Create tenant auth access policy rule. Create a tenant-level auth access policy rule. The rule is appended at the end of the tenant evaluation order, using a valid management key.

Parámetros de entrada

  • idstring

    Server-generated, rejected on create and required on update.

  • namestring

    Descope field name.

  • effectstring

    Required on create. Evaluation is first-match.

  • enabledboolean

    Defaults to true on create.

  • tenant_idstringObligatorio

    Descope tenantId parameter.

  • conditionsany

    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.

  • descriptionstring

    Descope field description.

  • expire_timeinteger

    Epoch seconds after which the rule is no longer evaluated. 0 means never.

  • created_timeinteger

    int32 epoch seconds: proto3 emits int64 as JSON string. See .claude/rules/proto-files.md.

  • modified_timeinteger

    Descope field modifiedTime.

  • evaluation_orderinteger

    1-based position in the evaluation order, set through the reorder and settings endpoints.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Tenants BatchDESCOPE_CREATE_TENANTS_BATCHAcción

Create Tenants Batch. Create multiple tenants in a single batch, using a valid management key. Each tenant is created independently; per-tenant failures are returned in the response body.

Parámetros de entrada

  • tenantsobject[]Obligatorio

    Descope field tenants.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Test UserDESCOPE_CREATE_TEST_USERAcción

Create Test User. Create a test user, using a valid management key. Configured user custom attribute defaults are applied to omitted keys on new users; explicitly supplied values take precedence. Existing users are not changed.

Parámetros de entrada

  • namestring

    Descope field name.

  • testboolean

    Descope field test.

  • emailstring

    Descope field email.

  • phonestring

    Descope field phone.

  • inviteboolean

    Descope field invite.

  • localestring

    Descope field locale.

  • statusstring

    Descope field status.

  • picturestring

    Descope field picture.

  • login_idstringObligatorio

    Descope field loginId.

  • passwordstring

    Descope field password.

  • send_smsboolean

    Descope field sendSMS.

  • send_mailboolean

    Descope field sendMail.

  • given_namestring

    Descope field givenName.

  • invite_urlstring

    Descope field inviteUrl.

  • role_namesstring[]

    Descope field roleNames.

  • family_namestring

    Descope field familyName.

  • middle_namestring

    Descope field middleName.

  • sso_app_idsstring[]

    Descope field ssoAppIds.

  • user_tenantsobject[]

    Descope field userTenants.

  • recovery_emailstring

    Descope field recoveryEmail.

  • recovery_phonestring

    Descope field recoveryPhone.

  • verified_emailboolean

    Descope field verifiedEmail.

  • verified_phoneboolean

    Descope field verifiedPhone.

  • hashed_passwordobject

    Descope field hashedPassword.

  • template_optionsobject

    Descope field templateOptions.

  • custom_attributesobject

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

  • family_associationsobject[]

    each AssociatedFamily carries its own roleNames and familyScopedAttributes

  • additional_identifiersstring[]

    Descope field additionalIdentifiers.

  • verified_recovery_emailboolean

    Descope field verifiedRecoveryEmail.

  • verified_recovery_phoneboolean

    Descope field verifiedRecoveryPhone.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create third party applicationDESCOPE_CREATE_THIRD_PARTY_APPLICATIONAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Create third party application. Create a new third party application, using a valid management key.

Parámetros de entrada

  • logostring

    Descope field logo.

  • namestringObligatorio

    Descope field name.

  • logo_urlstring

    Descope field logoUrl.

  • client_idstring

    Descope field clientId.

  • force_parboolean

    Descope field forcePar.

  • force_dpopboolean

    Descope field forceDpop.

  • force_mtlsboolean

    Descope field forceMtls.

  • force_pkceboolean

    Descope field forcePkce.

  • client_typestring

    Descope field clientType.

  • descriptionstring

    Descope field description.

  • ciba_enabledboolean

    cibaEnabled allows the CIBA grant (urn:openid:params:grant-type:ciba) for this app and requires cibaSettings. Default false. A public client cannot use this grant.

  • jar_settingsobject

    JAR (JWT-Secured Authorization Request, RFC 9101) settings for Third Party Applications

  • rar_settingsobject

    Descope field rarSettings.

  • ciba_settingsobject

    Descope field cibaSettings.

  • client_secretstring

    Descope field clientSecret.

  • login_page_urlstring

    Descope field loginPageUrl.

  • allowed_tenantsstring[]

    Descope field allowedTenants.

  • consent_flow_idstring

    Descope field consentFlowId.

  • default_audiencestring

    Descope field defaultAudience.

  • session_settingsobject

    Descope field sessionSettings.

  • attributes_scopesobject[]

    Descope field attributesScopes.

  • client_assertionsobject[]

    clientAssertions are the private_key_jwt trust entries (JWKS URL or PEM public key per entry).

  • custom_attributesobject

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

  • audience_whiteliststring[]

    Descope field audienceWhitelist.

  • client_auth_methodstring

    clientAuthMethod: "clientSecret" (default when empty), "privateKeyJwt" (only clientAssertions are accepted), "workloadIdentity" (only workloadClientAssertions are accepted) or "mtls" (only a registered mTLS certificate is accepted).

  • connections_scopesobject[]

    Descope field connectionsScopes.

  • permissions_scopesobject[]

    Descope field permissionsScopes.

  • jwt_bearer_disabledboolean

    jwtBearerDisabled rejects the JWT bearer grant (urn:ietf:params:oauth:grant-type:jwt-bearer) for this app. Default false. A public client cannot use this grant.

  • jwt_bearer_settingsobject

    string backChannelLogoutUrl = 10 [(validate).string = {url: true, optional: true}];

  • scope_claim_mappingobject[]

    scopeClaimMapping is the structured scope→claim model. Consumed by CreateThirdPartyApplicationV2 (v2 write-replace: attributesScopes is ignored/cleared). v1 ignores this field.

  • allow_partial_scopesboolean

    Descope field allowPartialScopes.

  • device_code_disabledboolean

    deviceCodeDisabled rejects the device authorization grant (urn:ietf:params:oauth:grant-type:device_code) for this app. Default false.

  • id_jag_target_clientsobject

    Descope field idJagTargetClients.

  • approved_callback_urlsstring[]

    Descope field approvedCallbackUrls.

  • refresh_token_disabledboolean

    refreshTokenDisabled rejects the refresh_token grant for this app, so its tokens cannot be refreshed. Default false.

  • non_confidential_clientboolean

    Descope field nonConfidentialClient.

  • token_exchange_disabledboolean

    tokenExchangeDisabled rejects the token exchange grant (urn:ietf:params:oauth:grant-type:token-exchange) for this app. Default false.

  • mtls_client_auth_methodsobject

    Descope field mtlsClientAuthMethods.

  • workload_client_assertionsobject[]

    workloadClientAssertions are the workload identity trust entries (SPIFFE trust domain or OIDC issuer per entry).

  • authorization_code_disabledboolean

    authorizationCodeDisabled rejects the authorization_code grant for this app, including its authorization requests. Default false.

  • client_credentials_disabledboolean

    clientCredentialsDisabled rejects the client_credentials grant for this app. Default false. A public client cannot use this grant.

  • force_add_all_authorization_infoboolean

    Descope field forceAddAllAuthorizationInfo.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create third party application consentDESCOPE_CREATE_THIRD_PARTY_APPLICATION_CONSENTAcción

Create third party application consent. Create a user consent for a third party application, using a valid management key. Use it to migrate consents a user already granted elsewhere, so the user is not asked to consent again. The scopes are added to any existing consent of the user for the same application and tenant. The consent is validated like one granted on the consent screen: every scope must be defined by the application, the mandatory scopes of the application must be included (all of its scopes when it does not allow partial scopes), and the user must hold the roles and permissions the scopes map to. Consents of agentic applications cannot be created.

Parámetros de entrada

  • app_idstringObligatorio

    The third party application ID

  • scopesstring[]

    The consented scopes, each defined by the application, including all of its mandatory scopes

  • user_idstringObligatorio

    The ID of the user who granted the consent

  • tenant_idstring

    Optional tenant the consent is bound to. The user must be a member of this tenant

  • expire_timeinteger

    Optional expiration time of the consent, in seconds since the epoch. Zero means the consent never expires

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create third party application (v2)DESCOPE_CREATE_THIRD_PARTY_APPLICATION_V2Acción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Create third party application (v2). Create a new third party application using the structured scope-claim mapping model, using a valid management key. The legacy attributesScopes field is ignored.

Parámetros de entrada

  • logostring

    Descope field logo.

  • namestringObligatorio

    Descope field name.

  • logo_urlstring

    Descope field logoUrl.

  • client_idstring

    Descope field clientId.

  • force_parboolean

    Descope field forcePar.

  • force_dpopboolean

    Descope field forceDpop.

  • force_mtlsboolean

    Descope field forceMtls.

  • force_pkceboolean

    Descope field forcePkce.

  • client_typestring

    Descope field clientType.

  • descriptionstring

    Descope field description.

  • ciba_enabledboolean

    cibaEnabled allows the CIBA grant (urn:openid:params:grant-type:ciba) for this app and requires cibaSettings. Default false. A public client cannot use this grant.

  • jar_settingsobject

    JAR (JWT-Secured Authorization Request, RFC 9101) settings for Third Party Applications

  • rar_settingsobject

    Descope field rarSettings.

  • ciba_settingsobject

    Descope field cibaSettings.

  • client_secretstring

    Descope field clientSecret.

  • login_page_urlstring

    Descope field loginPageUrl.

  • allowed_tenantsstring[]

    Descope field allowedTenants.

  • consent_flow_idstring

    Descope field consentFlowId.

  • default_audiencestring

    Descope field defaultAudience.

  • session_settingsobject

    Descope field sessionSettings.

  • client_assertionsobject[]

    clientAssertions are the private_key_jwt trust entries (JWKS URL or PEM public key per entry).

  • custom_attributesobject

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

  • audience_whiteliststring[]

    Descope field audienceWhitelist.

  • client_auth_methodstring

    clientAuthMethod: "clientSecret" (default when empty), "privateKeyJwt" (only clientAssertions are accepted), "workloadIdentity" (only workloadClientAssertions are accepted) or "mtls" (only a registered mTLS certificate is accepted).

  • connections_scopesobject[]

    Descope field connectionsScopes.

  • permissions_scopesobject[]

    Descope field permissionsScopes.

  • jwt_bearer_disabledboolean

    jwtBearerDisabled rejects the JWT bearer grant (urn:ietf:params:oauth:grant-type:jwt-bearer) for this app. Default false. A public client cannot use this grant.

  • jwt_bearer_settingsobject

    Descope field jwtBearerSettings.

  • scope_claim_mappingobject[]

    Descope field scopeClaimMapping.

  • allow_partial_scopesboolean

    Descope field allowPartialScopes.

  • device_code_disabledboolean

    deviceCodeDisabled rejects the device authorization grant (urn:ietf:params:oauth:grant-type:device_code) for this app. Default false.

  • id_jag_target_clientsobject

    Descope field idJagTargetClients.

  • approved_callback_urlsstring[]

    Descope field approvedCallbackUrls.

  • refresh_token_disabledboolean

    refreshTokenDisabled rejects the refresh_token grant for this app, so its tokens cannot be refreshed. Default false.

  • non_confidential_clientboolean

    Descope field nonConfidentialClient.

  • token_exchange_disabledboolean

    tokenExchangeDisabled rejects the token exchange grant (urn:ietf:params:oauth:grant-type:token-exchange) for this app. Default false.

  • mtls_client_auth_methodsobject

    Descope field mtlsClientAuthMethods.

  • workload_client_assertionsobject[]

    workloadClientAssertions are the workload identity trust entries (SPIFFE trust domain or OIDC issuer per entry).

  • authorization_code_disabledboolean

    authorizationCodeDisabled rejects the authorization_code grant for this app, including its authorization requests. Default false.

  • client_credentials_disabledboolean

    clientCredentialsDisabled rejects the client_credentials grant for this app. Default false. A public client cannot use this grant.

  • force_add_all_authorization_infoboolean

    Descope field forceAddAllAuthorizationInfo.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create UserDESCOPE_CREATE_USERAcción

Create User. ### Create a new user, using a valid management key. This API endpoint will create a new user utilizing a valid management key. This API endpoint allows you to configure all aspects of a user: - loginId - email - phone - verified settings (phone, email) - one must be set to true - displayName - roleNames - Tenant configurations - which tenantIds, which roleNames. The userTenants can include multiple items Ex: ``` "userTenants": [ { "tenantId": "T2IMjmRfYTQHlbaastz3im59ERS3", "roleNames": [ "Test" ] }, { "tenantId": "T2Igau6dX1R6SkomtFCdBLrc3r67", "roleNames": [ "Test" ] } ``` Additionally, you can create a user with multiple login IDs by passing an array of loginIds in string format within the `additionalIdentifiers` key. ### Next Steps Once the user is created, the user can then login utilizing any sign-in api supported. This will then switch the user from invited to active. ### See also - See [Manage User](/manage/users) for further details on managing users. - See [The

Parámetros de entrada

  • namestring

    Descope field name.

  • testboolean

    Descope field test.

  • emailstring

    Descope field email.

  • phonestring

    Descope field phone.

  • inviteboolean

    Descope field invite.

  • localestring

    Descope field locale.

  • statusstring

    Descope field status.

  • picturestring

    Descope field picture.

  • login_idstringObligatorio

    Descope field loginId.

  • passwordstring

    Descope field password.

  • send_smsboolean

    Descope field sendSMS.

  • send_mailboolean

    Descope field sendMail.

  • given_namestring

    Descope field givenName.

  • invite_urlstring

    Descope field inviteUrl.

  • role_namesstring[]

    Descope field roleNames.

  • family_namestring

    Descope field familyName.

  • middle_namestring

    Descope field middleName.

  • sso_app_idsstring[]

    Descope field ssoAppIds.

  • user_tenantsobject[]

    Descope field userTenants.

  • recovery_emailstring

    Descope field recoveryEmail.

  • recovery_phonestring

    Descope field recoveryPhone.

  • verified_emailboolean

    Descope field verifiedEmail.

  • verified_phoneboolean

    Descope field verifiedPhone.

  • hashed_passwordobject

    Descope field hashedPassword.

  • template_optionsobject

    Descope field templateOptions.

  • custom_attributesobject

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

  • family_associationsobject[]

    each AssociatedFamily carries its own roleNames and familyScopedAttributes

  • additional_identifiersstring[]

    Descope field additionalIdentifiers.

  • verified_recovery_emailboolean

    Descope field verifiedRecoveryEmail.

  • verified_recovery_phoneboolean

    Descope field verifiedRecoveryPhone.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a Custom AttributesDESCOPE_CREATE_USER_CUSTOM_ATTRIBUTEAcción

Create a Custom Attributes. ### Create a custom attributes to configure on users within a project, using a valid management key. This API endpoint will create a custom attribute within a project. ### See also - See [Custom Attributes](/manage/users#custom-user-attributes) for further details on custom user attributes - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object.

Parámetros de entrada

  • attributesobject[]

    Descope field attributes.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Family-Scoped User Custom AttributeDESCOPE_CREATE_USER_FAMILY_SCOPED_CUSTOM_ATTRIBUTEAcción

Create Family-Scoped User Custom Attribute. Create one or more family-scoped user custom attribute definitions, using a valid management key. Values for these attributes are held per family membership rather than on the user.

Parámetros de entrada

  • attributesobject[]

    Descope field attributes.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch Create UsersDESCOPE_CREATE_USERSAcción

Batch Create Users. ### Batch Create Users, using a valid management key. This API endpoint will batch create new users utilizing a valid management key. This API endpoint allows you to configure all aspects of a user: - loginId - email - phone - verified settings (phone, email) - one must be set to true - displayName - roleNames - Tenant configurations - which tenantIds, which roleNames. The userTenants can include multiple items Ex: ``` "userTenants": [ { "tenantId": "T2IMjmRfYTQHlbaastz3im59ERS3", "roleNames": [ "Test" ] }, { "tenantId": "T2Igau6dX1R6SkomtFCdBLrc3r67", "roleNames": [ "Test" ] } ``` Additionally, you can create a user with multiple login IDs by passing an array of loginIds in string format within the `additionalIdentifiers` key. You can also decide whether to invite the users, configure the inviteUrl, and whether to send invites via email or SMS. When importing with hashed passwords, see [this guide](/migrate/custom#importing-passwords) for further detailed configura

Parámetros de entrada

  • usersobject[]

    Descope field users.

  • inviteboolean

    Descope field invite.

  • localestring

    Descope field locale.

  • send_smsboolean

    Descope field sendSMS.

  • send_mailboolean

    Descope field sendMail.

  • invite_urlstring

    Descope field inviteUrl.

  • template_optionsobject

    Descope field templateOptions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Deactivate Access KeyDESCOPE_DEACTIVATE_ACCESS_KEYAcción

Deactivate Access Key. ### Deactivate an existing access key, using a valid management key. This API endpoint allows administrators to deactivate an existing access key. Once the access key has been deactivated, it's access will be revoked until reactivated. ### See also - See [Access Key Management](/access-keys) for further details on managing access keys.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch Deactivate Access KeysDESCOPE_DEACTIVATE_ACCESS_KEYSAcción

Batch Deactivate Access Keys. ### Deactivate existing access keys in batch, using a valid management key. This API endpoint allows administrators to deactivate existing access keys in batch. Once the access keys have been deactivated, their access will be revoked until reactivated. ### See also - See [Access Key Management](/access-keys) for further details on managing access keys.

Parámetros de entrada

  • idsstring[]

    Descope field ids.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Access KeyDESCOPE_DELETE_ACCESS_KEYAcción

Delete Access Key. ### Delete an existing access key, using a valid management key. This API endpoint allows administrators to delete an existing access key. Once the access key has been deleted, it's access will be revoked. ### See also - See [Access Key Management](/access-keys) for further details on managing access keys.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete access key attributeDESCOPE_DELETE_ACCESS_KEY_ATTRIBUTEAcción

Delete access key attribute. Delete a single access key custom attribute definition by machine name (no-op if absent), using a valid management key.

Parámetros de entrada

  • namestringObligatorio

    Descope name parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch Delete Access KeysDESCOPE_DELETE_ACCESS_KEYSAcción

Batch Delete Access Keys. ### Delete existing access keys in batch, using a valid management key. This API endpoint allows administrators to delete existing access keys in batch. Once the access keys have been deleted, their access will be revoked. ### See also - See [Access Key Management](/access-keys) for further details on managing access keys.

Parámetros de entrada

  • idsstring[]

    Descope field ids.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete All FGA RelationsDESCOPE_DELETE_ALL_FGARELATIONSAcción

Delete All FGA Relations. Delete all project FGA relations

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete All Test UsersDESCOPE_DELETE_ALL_TEST_USERSAcción

Delete All Test Users. ### Delete all test users This endpoint is used to delete all test users from a project. This action will delete these users forever and they will not be recoverable. ### See Also - See [Manage Test Users](/manage/testusers/) for more information on test users.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete auth access policy ruleDESCOPE_DELETE_AUTH_ACCESS_RULEAcción

Delete auth access policy rule. Delete a single project-level auth access policy rule by id, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete connectorDESCOPE_DELETE_CONNECTORAcción

Delete connector. Delete a single connector by id, using a valid management key. Flows that use the connector fail at that step until they are changed.

Parámetros de entrada

  • idstringObligatorio

    Required. The connector id, as CreateConnector and LoadAllConnectors return it; ids starting with `MP` are messaging providers.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete DescoperDESCOPE_DELETE_DESCOPERAcción

Delete Descoper. Delete a descoper

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete dynamic registration templateDESCOPE_DELETE_DYNAMIC_REGISTRATION_TEMPLATEAcción

Delete dynamic registration template. Delete a dynamic registration template by id, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete dynamic registration templatesDESCOPE_DELETE_DYNAMIC_REGISTRATION_TEMPLATESAcción

Delete dynamic registration templates. Delete multiple dynamic registration templates by id, using a valid management key.

Parámetros de entrada

  • idsstring[]

    Descope field ids.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete engineDESCOPE_DELETE_ENGINEAcción

Delete engine. Delete an engine, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete FamilyDESCOPE_DELETE_FAMILYAcción

Delete Family. Delete a family, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Family Custom AttributeDESCOPE_DELETE_FAMILY_CUSTOM_ATTRIBUTEAcción

Delete Family Custom Attribute. Delete one or more custom attribute definitions from the family entity by name, using a valid management key.

Parámetros de entrada

  • namesstring[]

    Descope field names.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Family DependentDESCOPE_DELETE_FAMILY_DEPENDENTAcción

Delete Family Dependent. Delete a dependent (shadow profile) user from a family

Parámetros de entrada

  • user_idstringObligatorio

    the family is inferred from the dependent (dependents belong to a single family)

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete FGA BackupDESCOPE_DELETE_FGABACKUPAcción

Delete FGA Backup. Delete an FGA backup.

Parámetros de entrada

  • backup_idstringObligatorio

    Descope backupId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete FGA RelationsDESCOPE_DELETE_FGARELATIONSAcción

Delete FGA Relations. ### Delete FGA relations This endpoint allows you to delete relations using Fine-Grained Authorization.

Parámetros de entrada

  • tuplesobject[]

    Descope field tuples.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete flowDESCOPE_DELETE_FLOWAcción

Delete flow. Delete a single flow by id, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete FlowDESCOPE_DELETE_FLOWSAcción

Delete Flow. ### Delete a flow within a project utilizing a management key. This endpoint is used to delete a flow from a project by giving an existing flow ID to be deleted. ### See Also - See [Flow Overview](/customize/flows/) for more information on flows. - See [Manage Flows](/customize/manage_flows/) for more information on managing (export, import, delete, disable, enable) flows.

Parámetros de entrada

  • idsstring[]Obligatorio

    Descope field ids.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete JWT TemplateDESCOPE_DELETE_JWT_TEMPLATEAcción

Delete JWT Template. Delete a JWT template by id. The project's default templates are restored where this one was referenced.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ListDESCOPE_DELETE_LISTAcción

Delete List. Delete a list by ID

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Management KeyDESCOPE_DELETE_MANAGEMENT_KEYSAcción

Delete Management Key. Delete a management key using another management key.

Parámetros de entrada

  • idsstring[]Obligatorio

    Descope field ids.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete MCP Server ClientDESCOPE_DELETE_MCP_SERVER_CLIENTAcción

Delete MCP Server Client. Delete an MCP Server Client by ID, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • mcp_server_idstringObligatorio

    Descope field mcpServerId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete MCP Server ClientsDESCOPE_DELETE_MCP_SERVER_CLIENTSAcción

Delete MCP Server Clients. Delete multiple MCP Server Clients by IDs, using a valid management key.

Parámetros de entrada

  • idsstring[]

    Descope field ids.

  • mcp_server_idstringObligatorio

    Descope field mcpServerId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete templateDESCOPE_DELETE_MESSAGING_TEMPLATEAcción

Delete template. Delete a single message template by type, method and id, using a valid management key. Deleting the active template resets the auth method's selection to the built-in System template.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

  • typestringObligatorio

    Descope type parameter.

  • methodstringObligatorio

    Descope method parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an authz namespaceDESCOPE_DELETE_NAMESPACEAcción

Delete an authz namespace. Delete an authz namespace and remove all related relations.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • schema_namestring

    optional upgrade to the schema name

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete OAuth providerDESCOPE_DELETE_OAUTH_PROVIDERAcción

Delete OAuth provider. Delete a single OAuth provider by id (system providers are reset to disabled), using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Outbound AppDESCOPE_DELETE_OUTBOUND_APPAcción

Delete Outbound App. ### Delete outbound application This endpoint allows you to delete an outbound application.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete outbound application token by idDESCOPE_DELETE_OUTBOUND_APP_TOKEN_BY_IDAcción

Delete outbound application token by id. Delete outbound application token by id, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete outbound application tokens by appId or userIdDESCOPE_DELETE_OUTBOUND_APP_USER_TOKENSAcción

Delete outbound application tokens by appId or userId. Delete outbound application tokens by appId or userId, using a valid management key.

Parámetros de entrada

  • app_idstringObligatorio

    Descope appId parameter.

  • user_idstringObligatorio

    Descope userId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete outbound SCIM configurationDESCOPE_DELETE_OUTBOUND_SCIMCONFIGURATIONAcción

Delete outbound SCIM configuration. Delete an outbound SCIM configuration, using a valid management key.

Parámetros de entrada

  • app_idstringObligatorio

    Descope field appId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete PermissionDESCOPE_DELETE_PERMISSIONAcción

Delete Permission. ### Delete a permission, using a valid management key. This API endpoint allows administrators to delete an existing permission. The endpoint takes the following one parameter: - name (required) ### See also - See [User Authorization](/manage/roles/) for further details on managing roles and permissions.

Parámetros de entrada

  • idstring

    Descope field id.

  • namestring

    Either name or id must be provided (not both).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Bulk Delete PermissionsDESCOPE_DELETE_PERMISSIONSAcción

Bulk Delete Permissions. Bulk delete Permissions, using a valid management key.

Parámetros de entrada

  • idsstring[]

    Permission IDs — can be combined with names or used alone.

  • namesstring[]

    Descope field names.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete policy ruleDESCOPE_DELETE_POLICY_RULEAcción

Delete policy rule. Delete a policy rule row matched by id. Idempotent.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ProjectDESCOPE_DELETE_PROJECTAcción

Delete Project. Delete a project, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ProjectDESCOPE_DELETE_PROJECT_VIA_POSTAcción

Delete Project. ### Delete a project utilizing a management key. This endpoint allows you to delete a project. This action is irreversible, use with caution. ### See Also - See [Managing Environments](/customize/environments/) for details about managing environments.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an authz relation definitionDESCOPE_DELETE_RELATION_DEFINITIONAcción

Delete an authz relation definition. Delete an authz relation definition for your project and remove all related relations.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • namespacestringObligatorio

    Descope field namespace.

  • schema_namestring

    optional upgrade to the schema name

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a list of authz relationsDESCOPE_DELETE_RELATIONSAcción

Delete a list of authz relations. Delete a list of authz relations.

Parámetros de entrada

  • relationsobject[]

    Descope field relations.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete all relations for a list of resourcesDESCOPE_DELETE_RELATIONS_FOR_RESOURCESAcción

Delete all relations for a list of resources. Delete all relations for the given list of resources.

Parámetros de entrada

  • resourcesstring[]

    Descope field resources.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete resourceDESCOPE_DELETE_RESOURCEAcción

Delete resource. Delete a resource, including MCP servers (type "mcp"), using a valid management key. Resources managed by an agent gateway cannot be deleted directly.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete all relations with matching resourceIds for a list of resourcesDESCOPE_DELETE_RESOURCE_RELATIONS_FOR_RESOURCESAcción

Delete 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.

Parámetros de entrada

  • resourcesstring[]

    Descope field resources.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete resources batchDESCOPE_DELETE_RESOURCESAcción

Delete 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.

Parámetros de entrada

  • idsstring[]

    Descope field ids.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete RoleDESCOPE_DELETE_ROLEAcción

Permanently 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.

Parámetros de entrada

  • namestring

    Name of the role to permanently delete. Provide exactly one of name or role_id.

  • role_idstring

    ID of the role to permanently delete. Provide exactly one of role_id or name.

  • tenant_idstring

    Tenant ID when deleting a tenant-scoped role.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch Delete RolesDESCOPE_DELETE_ROLESAcción

Batch 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.

Parámetros de entrada

  • role_idsstring[]

    Role IDs — can be combined with roleNames or used alone.

  • tenant_idstring

    Descope field tenantId.

  • role_namesstring[]

    Descope field roleNames.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an authz schemaDESCOPE_DELETE_SCHEMAAcción

Delete an authz schema. Delete an authz schema thus removing authz from your project.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Scope Claim MappingDESCOPE_DELETE_SCOPE_CLAIM_MAPPINGAcción

Delete Scope Claim Mapping. Remove the project-wide scope-to-claims mapping.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete session classificationDESCOPE_DELETE_SESSION_CLASSIFICATIONAcción

Delete session classification. Delete a session classification by name, using a valid management key. Users assigned to it are left without a group.

Parámetros de entrada

  • namestringObligatorio

    Descope name parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ApplicationDESCOPE_DELETE_SSOAPPLICATIONAcción

Delete 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.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete SSO application custom attribute definitionsDESCOPE_DELETE_SSOAPPLICATION_CUSTOM_ATTRIBUTEAcción

Delete SSO application custom attribute definitions. Delete SSO application custom attribute definitions, using a valid management key.

Parámetros de entrada

  • namesstring[]

    Descope field names.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete SSO application permissionDESCOPE_DELETE_SSOAPPLICATION_PERMISSIONAcción

Delete 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.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

  • app_idstringObligatorio

    Descope appId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete SSO application roleDESCOPE_DELETE_SSOAPPLICATION_ROLEAcción

Delete 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.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

  • app_idstringObligatorio

    Descope appId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Tenant's SAML/OIDC SettingsDESCOPE_DELETE_SSOSETTINGSAcción

Delete 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.

Parámetros de entrada

  • sso_idstring

    Descope ssoId parameter.

  • tenant_idstringObligatorio

    Descope tenantId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete TenantDESCOPE_DELETE_TENANTAcción

Permanently 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.

Parámetros de entrada

  • cascadeboolean

    Whether to also permanently delete users and access keys associated only with this tenant. Leave false to preserve those identities and keys; set true only when their deletion is explicitly intended.

  • tenant_idstringObligatorio

    ID of the Descope tenant to permanently delete. This operation cannot be undone.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete tenant attributeDESCOPE_DELETE_TENANT_ATTRIBUTEAcción

Delete tenant attribute. Delete a single tenant custom attribute definition by machine name (no-op if absent), using a valid management key.

Parámetros de entrada

  • namestringObligatorio

    Descope name parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete tenant auth access policy ruleDESCOPE_DELETE_TENANT_AUTH_ACCESS_RULEAcción

Delete tenant auth access policy rule. Delete a single tenant-level auth access policy rule by id, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

  • tenant_idstringObligatorio

    Descope tenantId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Tenants BatchDESCOPE_DELETE_TENANTS_BATCHAcción

Delete 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.

Parámetros de entrada

  • idsstring[]Obligatorio

    Descope field ids.

  • cascadeboolean

    Descope field cascade.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Tenant ThemeDESCOPE_DELETE_TENANT_THEMEAcción

Delete 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.

Parámetros de entrada

  • tenant_idstringObligatorio

    Descope tenantId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete third party applicationDESCOPE_DELETE_THIRD_PARTY_APPLICATIONAcción

Delete third party application. Delete a third party application, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete third party application consentsDESCOPE_DELETE_THIRD_PARTY_APPLICATION_CONSENTSAcción

Delete 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.

Parámetros de entrada

  • app_idstring

    Descope field appId.

  • user_idsstring[]

    Descope field userIds.

  • tenant_idstring

    Descope field tenantId.

  • consent_idsstring[]

    Descope field consentIds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch delete third party applicationsDESCOPE_DELETE_THIRD_PARTY_APPLICATIONSAcción

Batch delete third party applications. Delete multiple third party applications in batch, using a valid management key.

Parámetros de entrada

  • idsstring[]

    Descope field ids.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete third party application consents by tenantDESCOPE_DELETE_THIRD_PARTY_APPLICATION_TENANT_CONSENTSAcción

Delete third party application consents by tenant. Delete all OAuth user consents for an [Inbound App](/identity-federation/inbound-apps) within a tenant. Provide `tenantId` and optional `appId` or `consentIds`.

Parámetros de entrada

  • app_idstring

    Descope field appId.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • consent_idsstring[]

    Descope field consentIds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete UserDESCOPE_DELETE_USERAcción

Delete User. ### Delete a user, using a valid management key. This API endpoint will delete a user utilizing a valid management key based on the provided user loginId. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object.

Parámetros de entrada

  • user_idstring

    Descope field userId.

  • login_idstring

    Descope field loginId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete user attributeDESCOPE_DELETE_USER_ATTRIBUTEAcción

Delete user attribute. Delete a single user custom attribute definition by machine name (no-op if absent), using a valid management key.

Parámetros de entrada

  • namestringObligatorio

    Descope name parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a Custom AttributesDESCOPE_DELETE_USER_CUSTOM_ATTRIBUTEAcción

Delete a Custom Attributes. ### Delete a custom attributes to configure on users within a project, using a valid management key. This API endpoint will delete a custom attribute within a project. ### See also - See [Custom Attributes](/manage/users#custom-user-attributes) for further details on custom user attributes - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object.

Parámetros de entrada

  • namesstring[]

    Descope field names.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Family-Scoped User Custom AttributeDESCOPE_DELETE_USER_FAMILY_SCOPED_CUSTOM_ATTRIBUTEAcción

Delete Family-Scoped User Custom Attribute. Delete one or more family-scoped user custom attribute definitions by name, using a valid management key.

Parámetros de entrada

  • namesstring[]

    Descope field names.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch Delete UsersDESCOPE_DELETE_USERSAcción

Batch Delete Users. ### Delete users, using a valid management key. This API endpoint will delete users utilizing a valid management key. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object.

Parámetros de entrada

  • user_idsstring[]

    Descope field userIds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete widgetDESCOPE_DELETE_WIDGETAcción

Delete widget. Delete a single widget by id, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate an authz schema and preview the changesDESCOPE_DRY_RUN_SCHEMAAcción

Validate an authz schema and preview the changes. Preview schema diff between existing and new schema, without saving it.

Parámetros de entrada

  • dslstringObligatorio

    Descope field dsl.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Embedded LinkDESCOPE_EMBEDDED_LINK_SIGNINAcción

Generate Embedded Link. ### Generate an embedded link for an existing user Initiate a sign-in process by generating an embdedded link for an existing user utilizing a management key. The endpoint will return a token which can then be verified using the Magic Link [Verify Token](/api/magic-link/verification/verify-token) endpoint. ### Next Steps Verify the embedded link token using the [Verify Token](/api/magic-link/verification/verify-token) endpoint. ### See Also - See [Embedded link Authentication](/customize/auth/embeddedlink/) for details about implementing embedded links. - See [The User Object](/api/overview#the-user-object) for further details on how to identify users and their contact information such as email addresses and phone number.

Parámetros de entrada

  • timeoutinteger

    Descope field timeout.

  • login_idstringObligatorio

    Descope field loginId.

  • custom_claimsobject

    Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate a token for user sign up, later can be verified with magiclinkDESCOPE_EMBEDDED_LINK_SIGNUPAcción

Generate a token for user sign up, later can be verified with magiclink. Generate a token for user sign up

Parámetros de entrada

  • userobject

    Descope field user.

  • timeoutinteger

    Descope field timeout.

  • login_idstringObligatorio

    Descope field loginId.

  • login_optionsobject

    Descope field loginOptions.

  • email_verifiedboolean

    Descope field emailVerified.

  • phone_verifiedboolean

    Descope field phoneVerified.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Expire User PasswsordDESCOPE_EXPIRE_USER_PASSWORDAcción

Expire User Passwsord. ### Expire an existing user's password, using a valid management key. This API endpoint allows you to expire an existing user's password. Upon next login, the user will need to follow the reset password flow. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Manage Tenants](/management/tenant-management) for further details on managing tenants. - See [Reset Password](/api/passwords/email/password-reset) for sending the password reset email. This operation is irreversible and may invalidate prior credentials, sessions, or configuration.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export FlowDESCOPE_EXPORT_FLOWAcción

Export Flow. ### Export an existing flow from a project utilizing a management key. This endpoint is used to export an existing flow from a project. The response is the JSON which includes the flow and associated screens. ### See Also - See [Flow Overview](/customize/flows/) for more information on flows. - See [Manage Flows](/customize/manage_flows/) for more information on managing (export, import, delete, disable, enable) flows.

Parámetros de entrada

  • flow_idstringObligatorio

    Descope field flowId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export Flow LocalizationDESCOPE_EXPORT_FLOW_LOCALIZATIONAcción

Export Flow Localization. Export flow localization, using a valid management key.

Parámetros de entrada

  • flow_idstringObligatorio

    Descope field flowId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export Messaging LocalizationDESCOPE_EXPORT_MESSAGING_TEMPLATE_LOCALIZATIONAcción

Export Messaging Localization. Export messaging localization, using a valid management key.

Parámetros de entrada

  • template_idstringObligatorio

    Descope template ID used by this operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export ProjectDESCOPE_EXPORT_PROJECTAcción

Export Project. ### Export a project utilizing a management key. This endpoint is used to export a project. The response is the JSON of the project items. ### See Also - See [Managing Environments](/customize/environments/) for details about managing environments.

Parámetros de entrada

  • formatstring

    Descope field format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export Project SnapshotDESCOPE_EXPORT_SNAPSHOTAcción

Export Project Snapshot. ### Export a project snapshot utilizing a management key. This endpoint allows you to export a snapshot of the current project state. ### See Also - See [Managing Environments](/customize/environments/) for details about managing environments.

Parámetros de entrada

  • formatstring

    Descope field format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export ThemeDESCOPE_EXPORT_THEMEAcción

Export Theme. ### Export a theme from a project utilizing a management key. This endpoint is used to export a theme from a project. The response is the JSON of the theme. ### See Also - See [Styles Overview](/management/project-settings/styles) for more information on styles and themes

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Fetch Latest Outbound App Tenant TokenDESCOPE_FETCH_LATEST_OUTBOUND_APP_TENANT_TOKENAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Fetch Latest Outbound App Tenant Token. ### Fetch latest outbound application tenant token This endpoint allows you to fetch the latest tenant token for an outbound application.

Parámetros de entrada

  • app_idstringObligatorio

    Descope field appId.

  • optionsobject

    Descope field options.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • external_identifierstring

    Descope field externalIdentifier.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Fetch Latest Outbound App User TokenDESCOPE_FETCH_LATEST_OUTBOUND_APP_USER_TOKENAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Fetch Latest Outbound App User Token. ### Fetch latest outbound application user token This endpoint allows you to fetch the latest user token for an outbound application.

Parámetros de entrada

  • app_idstringObligatorio

    Descope field appId.

  • optionsobject

    Descope field options.

  • user_idstring

    Descope field userId.

  • tenant_idstring

    Descope field tenantId.

  • external_identifierstring

    Descope field externalIdentifier.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Fetch Outbound App Tenant TokenDESCOPE_FETCH_OUTBOUND_APP_TENANT_TOKENAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Fetch Outbound App Tenant Token. ### Fetch outbound application tenant token This endpoint allows you to fetch the tenant token for an outbound application.

Parámetros de entrada

  • app_idstringObligatorio

    Descope field appId.

  • scopesstring[]

    Descope field scopes.

  • optionsobject

    Descope field options.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • external_identifierstring

    Descope field externalIdentifier.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Fetch Outbound App User TokenDESCOPE_FETCH_OUTBOUND_APP_USER_TOKENAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Fetch Outbound App User Token. ### Fetch outbound application user token This endpoint allows you to fetch the user token for an outbound application.

Parámetros de entrada

  • app_idstringObligatorio

    Descope field appId.

  • scopesstring[]

    Descope field scopes.

  • optionsobject

    Descope field options.

  • user_idstring

    Descope field userId.

  • tenant_idstring

    Descope field tenantId.

  • external_identifierstring

    Descope field externalIdentifier.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Enchanted LinkDESCOPE_GENERATE_ENCHANTED_LINK_FOR_TEST_USERAcción

Generate Enchanted Link. ### Generate a Enchanted Link for a test user. This endpoint is used to generate a Enchanted Link for a test user. You can define whether this is sent via email or sms. Once you generate the Enchanted Link Token must be verified via [verify token](/api/enchanted-link/verify-token) ### See Also - See [Enchanted link Authentication](/api/enchantedlink/) for details about implementing enchanted links. - See [Create a user](/api/management/users/create-user) with the `test` flag set to true to set it as a test user. - See [Manage Test Users](/manage/testusers/) for more information on test users.

Parámetros de entrada

  • login_idstring

    Descope field loginId.

  • redirect_urlstring

    Descope field redirectUrl.

  • login_optionsobject

    Descope field loginOptions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate JWT for Sign-InDESCOPE_GENERATE_JWTSIGN_INAcción

Generate JWT for Sign-In. Generate a JWT for an existing user, using a valid management key.

Parámetros de entrada

  • jwtstring

    Descope field jwt.

  • mfaboolean

    Descope field mfa.

  • stepupboolean

    Descope field stepup.

  • login_idstringObligatorio

    Descope field loginId.

  • sso_app_idstring

    Descope field ssoAppId.

  • custom_claimsobject

    Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.

  • refresh_durationinteger

    Descope field refreshDuration.

  • ignore_enforce_ssoboolean

    Keep the tenants the user already belongs to that enforce SSO. They are left out of the JWT by default, because this endpoint does not authenticate through SSO. Applies to existing memberships only: a new user whose email domain would self-provision into a tenant that enforces SSO is still refused.

  • selected_tenant_idstring

    Descope field selectedTenantId.

  • revoke_other_sessionsboolean

    Descope field revokeOtherSessions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate JWT for Sign-UpDESCOPE_GENERATE_JWTSIGN_UPAcción

Generate JWT for Sign-Up. Create a new user and generate a JWT for them, using a valid management key.

Parámetros de entrada

  • userobject

    Descope field user.

  • login_idstringObligatorio

    Descope field loginId.

  • sso_app_idstring

    Descope field ssoAppId.

  • user_tenantsobject[]

    Descope field userTenants.

  • custom_claimsobject

    Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.

  • email_verifiedboolean

    Descope field emailVerified.

  • phone_verifiedboolean

    Descope field phoneVerified.

  • refresh_durationinteger

    Descope field refreshDuration.

  • ignore_enforce_ssoboolean

    Keep the tenants the user already belongs to that enforce SSO. They are left out of the JWT by default, because this endpoint does not authenticate through SSO. Applies to existing memberships only: a new user whose email domain would self-provision into a tenant that enforces SSO is still refused.

  • selected_tenant_idstring

    Descope field selectedTenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate JWT for Sign-Up or Sign-InDESCOPE_GENERATE_JWTSIGN_UP_OR_INAcción

Generate JWT for Sign-Up or Sign-In. Create a new user and generate a JWT for them, or just generate a JWT if the user already exists. Uses a valid management key.

Parámetros de entrada

  • userobject

    Descope field user.

  • login_idstringObligatorio

    Descope field loginId.

  • sso_app_idstring

    Descope field ssoAppId.

  • user_tenantsobject[]

    Descope field userTenants.

  • custom_claimsobject

    Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.

  • email_verifiedboolean

    Descope field emailVerified.

  • phone_verifiedboolean

    Descope field phoneVerified.

  • refresh_durationinteger

    Descope field refreshDuration.

  • ignore_enforce_ssoboolean

    Keep the tenants the user already belongs to that enforce SSO. They are left out of the JWT by default, because this endpoint does not authenticate through SSO. Applies to existing memberships only: a new user whose email domain would self-provision into a tenant that enforces SSO is still refused.

  • selected_tenant_idstring

    Descope field selectedTenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Magic LinkDESCOPE_GENERATE_MAGIC_LINK_FOR_TEST_USERAcción

Generate Magic Link. ### Generate a Magic Link for a test user. This endpoint is used to generate a Magic Link for a test user. You can define whether this is sent via email or sms. Once you generate the Magic Link Token must be verified via [verify token](/api/magic-link/verification/verify-token) ### See Also - See [Magic link Authentication](/api/magiclink/) for details about implementing magic links. - See [Create a user](/api/management/users/create-user) with the `test` flag set to true to set it as a test user. - See [Manage Test Users](/manage/testusers/) for more information on test users.

Parámetros de entrada

  • login_idstring

    Descope field loginId.

  • redirect_urlstring

    Descope field redirectUrl.

  • login_optionsobject

    Descope field loginOptions.

  • delivery_methodstringObligatorio

    Descope field deliveryMethod.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate OTPDESCOPE_GENERATE_OTPFOR_TEST_USERAcción

Generate OTP. ### Generate an OTP verification code for a test user. This endpoint is used to generate an OTP verification code for a test user. You can define whether this is sent via email or sms. Once you generate the OTP code, you must verify the OTP code via [verify OTP email](/api/otp/email/verify-otp) or [verify OTP sms](/api/otp/sms/verify-otp) ### See Also - See [OTP Authentication](/api/otp/) for details about implementing OTP. - See [Create a user](/api/management/users/create-user) with the `test` flag set to true to set it as a test user. - See [Manage Test Users](/manage/testusers/) for more information on test users.

Parámetros de entrada

  • login_idstring

    Descope field loginId.

  • login_optionsobject

    Descope field loginOptions.

  • delivery_methodstringObligatorio

    Descope field deliveryMethod.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate SSO Admin LinkDESCOPE_GENERATE_TENANT_ADMIN_LINK_SSOAcción

Generate SSO Admin Link. ### Generate an SSO admin link for a tenant, using a valid management key. This API endpoint generates an SSO admin link that allows a tenant administrator to configure SSO settings.

Parámetros de entrada

  • emailstring

    Descope field email.

  • sso_idstring

    Descope field ssoId.

  • actor_idstring

    Optional: recorded as the audit actor for actions performed inside the SSO Setup Suite (instead of the temporary user). Used as-is for audit attribution and not validated.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • expire_timestring

    Descope field expireTime.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get access key attributeDESCOPE_GET_ACCESS_KEY_ATTRIBUTEAcción

Get access key attribute. Get a single access key custom attribute definition by machine name, using a valid management key.

Parámetros de entrada

  • namestringObligatorio

    Descope name parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get admin portal settingsDESCOPE_GET_ADMIN_PORTAL_SETTINGSAcción

Get admin portal settings. Get the project's admin portal settings, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get All ListsDESCOPE_GET_ALL_LISTSAcción

Get All Lists. Get all lists

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get auth access policy ruleDESCOPE_GET_AUTH_ACCESS_RULEAcción

Get auth access policy rule. Get a single project-level auth access policy rule by id, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get auth access policy settingsDESCOPE_GET_AUTH_ACCESS_SETTINGSAcción

Get auth access policy settings. Get the project-level auth access policy settings: the default action and the full rule evaluation order, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Clone Project ProcessDESCOPE_GET_CLONE_PROJECT_PROCESSAcción

Get Clone Project Process. Get the status of an asynchronous clone project process. This returns an object describing the new project details or an error if the process failed, using a valid management key.

Parámetros de entrada

  • process_idstringObligatorio

    Descope processId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get connectorDESCOPE_GET_CONNECTORAcción

Get connector. Get a single connector by id, using a valid management key, with its configuration. Secret values are returned as `PLACEHOLDER_VALUE`.

Parámetros de entrada

  • idstringObligatorio

    Required. The connector id, as CreateConnector and LoadAllConnectors return it; ids starting with `MP` are messaging providers.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get connector templateDESCOPE_GET_CONNECTOR_TEMPLATEAcción

Get connector template. Get one connector template by id, using a valid management key, with its configuration fields: each field's name, type, whether it is required, its default value, its allowed values, the field it depends on, and its documentation. Build the `configuration` for CreateConnector from these fields; the server checks it against them. Secret values come from the user: don't invent them unless the user asks for a placeholder. An `httpAuth` value is an object with `method` and that method's settings: `none`; `bearerToken` with `bearerToken`; `apiKey` with `apiKey: {key, token}`; `basic` with `basic: {username, password}`; `oauth2ClientCredentials` with `oauth2ClientCredentials: {clientId, clientSecret, authUrl, authStyle}`, all required, where `authStyle` is `body` or `header` with no default, plus optional `scopes` as one space-separated string. A `secret-object` value is a list of `{key, value, secret}` entries; `secret` defaults to false, and a secret entry is read b

Parámetros de entrada

  • idstringObligatorio

    The template id, such as `http`.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get DescoperDESCOPE_GET_DESCOPERAcción

Get Descoper. Get a descoper

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get embedded link settingsDESCOPE_GET_EMBEDDED_LINK_SETTINGSAcción

Get embedded link settings. Get the project's embedded link settings, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get enchanted link settingsDESCOPE_GET_ENCHANTED_LINK_SETTINGSAcción

Get enchanted link settings. Get the project's enchanted link settings, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Family Custom AttributesDESCOPE_GET_FAMILY_CUSTOM_ATTRIBUTESAcción

Get Family Custom Attributes. Get the family entity's custom attribute definitions, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Family SettingsDESCOPE_GET_FAMILY_SETTINGSAcción

Get Family Settings. Get the project's family account settings, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get FGA BackupDESCOPE_GET_FGABACKUPAcción

Get FGA Backup. Get an FGA backup by ID.

Parámetros de entrada

  • backup_idstringObligatorio

    Descope backupId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Mappable ResourcesDESCOPE_GET_FGA_MAPPABLE_RESOURCESAcción

Get Mappable Resources. ### Get mappable resources This endpoint allows you to retrieve mappable resources for Fine-Grained Authorization.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Mappable SchemaDESCOPE_GET_FGAMAPPABLE_SCHEMAAcción

Get Mappable Schema. ### Get mappable schema This endpoint allows you to retrieve the mappable schema for Fine-Grained Authorization.

Parámetros de entrada

  • tenant_idstringObligatorio

    Descope tenantId parameter.

  • resources_limitstring

    Descope resourcesLimit parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get FGA SchemaDESCOPE_GET_FGASCHEMAAcción

Get FGA Schema. ### Get FGA schema This endpoint allows you to retrieve the current Fine-Grained Authorization schema for your project.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get flowDESCOPE_GET_FLOWAcción

Get flow. Get a single flow by id in its exported representation, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get governance access requestDESCOPE_GET_GOVERNANCE_ACCESS_REQUESTAcción

Get governance access request. Load a single Agentic Governance Suite access request by id, using a valid management key. Requires the Agentic Governance Suite in the company license.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get governance settingsDESCOPE_GET_GOVERNANCE_SETTINGSAcción

Get governance settings. Load the project's Agentic Governance Suite settings, using a valid management key. Works without the Agentic Governance Suite in the company license, and returns the stored settings or the defaults.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ListDESCOPE_GET_LISTAcción

Get List. Get a list by ID

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get List By NameDESCOPE_GET_LIST_BY_NAMEAcción

Get List By Name. Get a list by name

Parámetros de entrada

  • namestringObligatorio

    Descope name parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get magic link settingsDESCOPE_GET_MAGIC_LINK_SETTINGSAcción

Get magic link settings. Get the project's magic link settings, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Management Flow async resultDESCOPE_GET_MANAGEMENT_FLOW_ASYNC_RESULTAcción

Get Management Flow async result. Get the result from an async management flow execution (if any), using a valid management key.

Parámetros de entrada

  • execution_idstring

    Descope field executionId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Management KeyDESCOPE_GET_MANAGEMENT_KEYAcción

Get Management Key. Get a management key using another management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get MCP Server Client SecretDESCOPE_GET_MCP_SERVER_CLIENT_SECRETAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Get MCP Server Client Secret. Get MCP Server Client secret, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • mcp_server_idstringObligatorio

    Descope field mcpServerId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get templateDESCOPE_GET_MESSAGING_TEMPLATEAcción

Get template. Get a single message template by type, method and id, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

  • typestringObligatorio

    Descope type parameter.

  • methodstringObligatorio

    Descope method parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Return the list of targets and resources changed since the given dateDESCOPE_GET_MODIFIEDAcción

Return the list of targets and resources changed since the given date. Return the list of targets and resources changed since the given date. Should be used to invalidate local caches.

Parámetros de entrada

  • sincestring

    Changed since given milli epoch UTC time - optional, default to max changelog (change events) TTL

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get OAuth providerDESCOPE_GET_OAUTH_PROVIDERAcción

Get OAuth provider. Get a single OAuth provider by id, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get OAuth settingsDESCOPE_GET_OAUTH_SETTINGSAcción

Get OAuth settings. Get the project's general OAuth settings, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get OTP settingsDESCOPE_GET_OTPSETTINGSAcción

Get OTP settings. Get the project's one-time passcode settings, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get passkey settingsDESCOPE_GET_PASSKEY_SETTINGSAcción

Get passkey settings. Get the project's passkey (WebAuthn) settings, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Tenant Password SettingsDESCOPE_GET_PASSWORD_SETTINGSAcción

Get Tenant Password Settings. ### Get password settings for a tenant This endpoint allows you to get the password settings of a given tenant. ### See Also - See [tenant password settings](/customize/tenant#passwords) for details about tenant password settings.

Parámetros de entrada

  • tenant_idstring

    Descope tenantId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get password settingsDESCOPE_GET_PASSWORD_SETTINGS_V2Acción

Get password settings. Get the project's password settings, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get project settingsDESCOPE_GET_PROJECT_SETTINGSAcción

Get project settings. Get the project's settings, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Scope Claim MappingDESCOPE_GET_SCOPE_CLAIM_MAPPINGAcción

Get Scope Claim Mapping. Get the project-wide mapping of OIDC scopes to JWT claims. Returns an empty mapping when none has been configured.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get session classificationDESCOPE_GET_SESSION_CLASSIFICATIONAcción

Get session classification. Get a single session classification by name, using a valid management key.

Parámetros de entrada

  • namestringObligatorio

    Descope name parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SSO application permissionDESCOPE_GET_SSOAPPLICATION_PERMISSIONAcción

Get SSO application permission. Get a single SSO application permission by application id and permission id, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

  • app_idstringObligatorio

    Descope appId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SSO application roleDESCOPE_GET_SSOAPPLICATION_ROLEAcción

Get SSO application role. Get a single SSO application role by application id and role id, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

  • app_idstringObligatorio

    Descope appId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SSO application secret by application IDDESCOPE_GET_SSOAPPLICATION_SECRETAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Get SSO application secret by application ID. Get the dedicated OIDC client secret of an SSO application by its ID, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

  • secret_namestring

    Descope secretName parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SSO settingsDESCOPE_GET_SSOSETTINGSAcción

Get SSO settings. Get the project's SSO settings, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Authenticated SSO Admin LinkDESCOPE_GET_TENANT_ADMIN_LINK_SSOFOR_AUTHENTICATED_USERSAcción

Authenticated SSO Admin Link. ### Authenticated SSO admin link for a tenant, using a valid management key. This API endpoint handles authenticated SSO admin link requests for a tenant.

Parámetros de entrada

  • tenant_idstringObligatorio

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate tenant admin SSO configuration links (batch)DESCOPE_GET_TENANT_ADMIN_LINKS_SSOFOR_AUTHENTICATED_USERSAcción

Generate tenant admin SSO configuration links (batch). Get default SSO admin link plus per-ssoId admin links for authenticated users only, using a valid management key

Parámetros de entrada

  • sso_idsstring[]

    Descope field ssoIds.

  • tenant_idstringObligatorio

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get tenant attributeDESCOPE_GET_TENANT_ATTRIBUTEAcción

Get tenant attribute. Get a single tenant custom attribute definition by machine name, using a valid management key.

Parámetros de entrada

  • namestringObligatorio

    Descope name parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get tenant auth access policy ruleDESCOPE_GET_TENANT_AUTH_ACCESS_RULEAcción

Get tenant auth access policy rule. Get a single tenant-level auth access policy rule by id, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

  • tenant_idstringObligatorio

    Descope tenantId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get tenant auth access policy settingsDESCOPE_GET_TENANT_AUTH_ACCESS_SETTINGSAcción

Get tenant auth access policy settings. Get the tenant-level auth access policy settings: the default action and the full rule evaluation order, using a valid management key.

Parámetros de entrada

  • tenant_idstringObligatorio

    Descope tenantId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get OTP Settings for a tenantDESCOPE_GET_TENANT_OTPSETTINGSAcción

Get OTP Settings for a tenant. Get OTP Settings for a tenant, using a valid management key.

Parámetros de entrada

  • tenant_idstringObligatorio

    Descope tenantId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Tenant Session SettingsDESCOPE_GET_TENANT_SETTINGSAcción

Get Tenant Session Settings. ### Get session settings for a tenant This endpoint allows you to get the session settings of a given tenant. ### See Also - See [tenant session settings](/customize/tenant#session-management) for details about tenant session settings.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Tenant ThemeDESCOPE_GET_TENANT_THEMEAcción

Get Tenant Theme. Get the styles a tenant overrides the project theme with, using a valid management key. The logo is returned as a base64 data URI, so the response can be sent back to Set Tenant Theme unchanged. Returns 404 when the tenant has no theme of its own, in which case flows for that tenant render with the project theme.

Parámetros de entrada

  • tenant_idstringObligatorio

    Descope tenantId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get third party application secretDESCOPE_GET_THIRD_PARTY_APPLICATION_SECRETAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Get third party application secret. Get a third party application secret, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

  • secret_namestring

    Descope secretName parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get TOTP settingsDESCOPE_GET_TOTPSETTINGSAcción

Get TOTP settings. Get the project's TOTP settings, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get UserDESCOPE_GET_USERAcción

Retrieve one user by login ID or Descope user ID.

Parámetros de entrada

  • user_idstring

    Descope user ID. Provide exactly one of user_id or login_id.

  • login_idstring

    User login ID. Provide exactly one of login_id or user_id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get user attributeDESCOPE_GET_USER_ATTRIBUTEAcción

Get user attribute. Get a single user custom attribute definition by machine name, using a valid management key.

Parámetros de entrada

  • namestringObligatorio

    Descope name parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Family-Scoped User Custom AttributesDESCOPE_GET_USER_FAMILY_SCOPED_CUSTOM_ATTRIBUTESAcción

Get Family-Scoped User Custom Attributes. Get the project's family-scoped user custom attribute definitions, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get User Provider TokenDESCOPE_GET_USER_PROVIDER_TOKENAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Get User Provider Token. ### Get an existing user's provider token, using a valid management key. This API endpoint will loads the user's access token generated by the OAuth/OIDC provider, using a valid management key. When querying for OAuth providers, this only applies when utilizing your own account with the provider and have selected `Manage tokens from provider` selected under the [social auth methods](https://app.descope.com/settings/authentication/social). ### Query Params - `loginId` - The loginId of the user you want to get the provider token for. - `provider` - The provider you want to get the token for. - `withRefreshToken (optional)` - set to true to also return the refresh token. - `forceRefresh (optional)` - set to true to force a refresh of the token. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [Th

Parámetros de entrada

  • login_idstringObligatorio

    Descope loginId parameter.

  • providerstringObligatorio

    Descope provider parameter.

  • force_refreshboolean

    Descope forceRefresh parameter.

  • with_refresh_tokenboolean

    Descope withRefreshToken parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get well-known settingsDESCOPE_GET_WELL_KNOWN_SETTINGSAcción

Get well-known settings. Get the project's customization of its OIDC discovery documents (the project document and the shared inbound apps document), using a valid management key. Returns the defaults when nothing was saved.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get widgetDESCOPE_GET_WIDGETAcción

Get widget. Get a single widget by id in its exported representation, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check a list of relation queriesDESCOPE_HAS_RELATIONSAcción

Check a list of relation queries. Check a list of relation queries.

Parámetros de entrada

  • relation_queriesobject[]

    Descope field relationQueries.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Impersonate UserDESCOPE_IMPERSONATEAcción

Impersonate User. ### Impersonate a user, using a valid management key. This API endpoint will allow you to impersonate a user using a login ID. The impersonator user must have the impersonation permission in order for this request to work. The response would be a refresh JWT of the impersonated user

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • custom_claimsobject

    Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.

  • impersonator_idstringObligatorio

    Descope field impersonatorId.

  • selected_tenantstring

    Descope field selectedTenant.

  • refresh_durationinteger

    Descope field refreshDuration.

  • validate_consentboolean

    Descope field validateConsent.

  • session_cookie_namestring

    Descope field sessionCookieName.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Impersonate Family DependentDESCOPE_IMPERSONATE_FAMILY_DEPENDENTAcción

Impersonate Family Dependent. Impersonate a family dependent. The impersonator (by user ID) must be a member of the dependent's family and hold the family impersonate-dependents permission there.

Parámetros de entrada

  • selected_familystring

    optional family to scope the impersonated session to (stamped as the current-family claim); when set it must be the dependent's family. Omitted -> the impersonated session carries no current-family claim

  • dependent_login_idstringObligatorio

    the target dependent, by login ID

  • impersonator_user_id_or_login_idstringObligatorio

    the impersonator (acting family admin), by user ID or login ID; must be a member of the dependent's family and hold the family impersonate-dependents permission there

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Impersonate StepupDESCOPE_IMPERSONATE_STEPUPAcción

Impersonate Stepup. Impersonate as a different user with step-up claim

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • custom_claimsobject

    Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.

  • impersonator_idstringObligatorio

    Descope field impersonatorId.

  • selected_tenantstring

    Descope field selectedTenant.

  • refresh_durationinteger

    Descope field refreshDuration.

  • validate_consentboolean

    Descope field validateConsent.

  • session_cookie_namestring

    Descope field sessionCookieName.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import Access KeyDESCOPE_IMPORT_ACCESS_KEYSAcción

Import Access Key. Import an access key by providing its plaintext value, using a valid management key.

Parámetros de entrada

  • keysobject[]Obligatorio

    Descope field keys.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import FlowDESCOPE_IMPORT_FLOWAcción

Import Flow. ### Import a flow within a project utilizing a management key. This endpoint is used to import a flow to a project. The request items for the `flow` and `screen` this endpoint can be received from the export flow endpoint. ### See Also - See [Flow Overview](/customize/flows/) for more information on flows. - See [Manage Flows](/customize/manage_flows/) for more information on managing (export, import, delete, disable, enable) flows.

Parámetros de entrada

  • flowobjectObligatorio

    Used by managementservice snapshots - make sure not to break compatibility

  • changelogstring

    Descope field changelog.

  • skip_renderboolean

    Descope field skipRender.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import Flow LocalizationDESCOPE_IMPORT_FLOW_LOCALIZATIONAcción

Import Flow Localization. Import flow localization, using a valid management key.

Parámetros de entrada

  • flow_idstringObligatorio

    Descope field flowId.

  • overridesobjectObligatorio

    Descope field overrides.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import ListsDESCOPE_IMPORT_LISTSAcción

Import Lists. Import multiple lists

Parámetros de entrada

  • listsobject[]

    Descope field lists.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import Messaging LocalizationDESCOPE_IMPORT_MESSAGING_LOCALIZATIONAcción

Import Messaging Localization. Import messaging localization, using a valid management key.

Parámetros de entrada

  • overridesobjectObligatorio

    Descope field overrides.

  • template_idstringObligatorio

    Descope template ID used by this operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import ProjectDESCOPE_IMPORT_PROJECTAcción

Import Project. ### Import a project utilizing a management key. This endpoint is used to import a project. The argument of `files` should be the output of the [export project endpoint](/api/management/projects/export-project) You can also exclude items from the export when importing by utilizing the flags below within the `exclude` array. ``` The entire project: project Project specific items: project.domain project.trustedDomains project.tokenResponseMethod project.selfProvisioning project.rotateJwt project.cookiepolicy project.refreshTokenExpiration project.stepupTokenExpiration project.sessionTokenExpiration project.keySessionTokenExpiration project.inviteUrl project.inviteEmail project.inviteSms project.inviteMagicLink project.conformanceJwt project.inactivity Auth Methods, Flows, styles, etc: magicLink enchantedLink embeddedLink otp totp sso oauth webauthn password styles flows connectors authorization attributes ssoApps ``` You can also import secrets for connectors and OAuth Pr

Parámetros de entrada

  • filesobjectObligatorio

    Descope field files.

  • excludesstring[]

    Descope field excludes.

  • input_secretsobject

    Descope field inputSecrets.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import Project SnapshotDESCOPE_IMPORT_SNAPSHOTAcción

Import Project Snapshot. ### Import a project snapshot utilizing a management key. This endpoint allows you to import a previously exported project snapshot. ### See Also - See [Managing Environments](/customize/environments/) for details about managing environments.

Parámetros de entrada

  • filesobjectObligatorio

    Descope field files.

  • excludesstring[]

    Descope field excludes.

  • input_secretsobject

    Descope field inputSecrets.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import ThemeDESCOPE_IMPORT_THEMEAcción

Import Theme. ### Import a theme to a project utilizing a management key. This endpoint is used to import a theme from a project. The request body for this endpoint can be received from the export theme endpoint. ### See Also - See [Styles Overview](/management/project-settings/styles) for more information on styles and themes

Parámetros de entrada

  • themeobjectObligatorio

    Used by managementservice snapshots - make sure not to break compatibility

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import User PasskeysDESCOPE_IMPORT_USER_PASSKEYSAcción

Import User Passkeys. Import passkey credentials for a user, using a valid management key.

Parámetros de entrada

  • devicesobject[]Obligatorio

    Descope field devices.

  • login_idstringObligatorio

    Descope field loginId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List DescopersDESCOPE_LIST_DESCOPERSAcción

List Descopers. List descopers

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List FGA BackupsDESCOPE_LIST_FGABACKUPSAcción

List FGA Backups. List all FGA backups.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List/Search FlowsDESCOPE_LIST_FLOWSAcción

List/Search Flows. ### List or search flows within a project utilizing a management key. This endpoint is used to list or search flows within a project. To list all flows, send an empty body such as: `{ }` or `{ "ids": [] }`. To search for a flow or several flows, send a body with the flowIds you want to search such as `{ "ids": ["sign-in"] }` or `{ "ids": ["sign-in", "sign-up"] }`. ### See Also - See [Flow Overview](/customize/flows/) for more information on flows. - See [Manage Flows](/customize/manage_flows/) for more information on managing (export, import, delete, disable, enable) flows.

Parámetros de entrada

  • idsstring[]

    Descope field ids.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Flow TemplatesDESCOPE_LIST_FLOW_TEMPLATESAcción

List Flow Templates. List all available flow templates

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List JWT Template LibraryDESCOPE_LIST_JWT_TEMPLATE_LIBRARYAcción

List JWT Template Library. List the curated JWT template library Descope ships — starter templates with documented use cases, optional logos, and `experimental` flags.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List JWT TemplatesDESCOPE_LIST_JWT_TEMPLATESAcción

List JWT Templates. List every JWT template defined on the current project. Returns full field detail for each — name, description, type (key|user), tags, claim body, authSchema, issuerType, etc.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List PermissionsDESCOPE_LIST_PERMISSIONSAcción

Return all project permissions, including IDs, descriptions, and system-default status.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ProjectsDESCOPE_LIST_PROJECTAcción

List Projects. ### List all projects utilizing a management key. This endpoint allows you to list all projects in your account. ### See Also - See [Managing Environments](/customize/environments/) for details about managing environments.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List RolesDESCOPE_LIST_ROLESAcción

Return all project-level and tenant-scoped roles with their granted permission names.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Trusted DevicesDESCOPE_LIST_TRUSTED_DEVICES_FOR_USERSAcción

List Trusted Devices. List trusted devices for one or more users.

Parámetros de entrada

  • identifiersstring[]

    The users' login identifiers (external ID or ID).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Outbound Apps with User TokenDESCOPE_LIST_USER_OUTBOUND_APPS_WITH_VALID_USER_TOKENAcción

List Outbound Apps with User Token. ### List outbound applications with user token This endpoint allows you to retrieve outbound applications that have a user token available.

Parámetros de entrada

  • user_idstringObligatorio

    Descope userId parameter.

  • tenant_idstring

    Descope tenantId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List User PasskeysDESCOPE_LIST_USER_PASSKEYSAcción

List User Passkeys. List all passkeys for a user, using a valid management key.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List all widgetsDESCOPE_LIST_WIDGETSAcción

List all widgets. List all widgets in project

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load An Access KeyDESCOPE_LOAD_ACCESS_KEYAcción

Load An Access Key. ### Load an access key, using a valid management key. This API endpoint allows administrators to load the details of an existing access key. The response contains details of the access key including associated roles and tenants as well as details of the key's creation, status, and expiration. ### Next Steps Once you have this data, you can utilize the response to [Update an access key](/api/management/access-keys/update-access-key), [Activate an access key](/api/management/access-keys/activate-access-key), [Deactivate an access key](/api/management/access-keys/deactivate-access-key), or [Delete an access key](/api/management/access-keys/delete-access-key). ### See also - See [Access Key Management](/access-keys) for further details on managing access keys.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load all auth access policy rulesDESCOPE_LOAD_ALL_AUTH_ACCESS_RULESAcción

Load all auth access policy rules. Load all project-level auth access policy rules in evaluation order, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load all connectorsDESCOPE_LOAD_ALL_CONNECTORSAcción

Load all connectors. Load all of the project's connectors, using a valid management key. Each connector is returned as GetConnector returns it, with its configuration and with secret values as `PLACEHOLDER_VALUE`. This includes messaging provider connectors, whose ids start with `MP`, and leaves out connectors that Descope manages internally, such as outbound SCIM connectors, as the console does.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load all connector templatesDESCOPE_LOAD_ALL_CONNECTOR_TEMPLATESAcción

Load all connector templates. Load the connector templates the project can create connectors from, using a valid management key. Each template's `id` is the `type` to pass to CreateConnector, and `name` is its display name. Templates are returned without their fields; call GetConnectorTemplate for one template's configuration fields before creating a connector. Internal and early-release templates are not listed, and a template with a `requiredLicense` is listed only when the company has that license. Messaging providers such as `sendgrid` have no template and are not listed. SSO and social login (OAuth) providers are not connectors; they have their own operations.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load all dynamic registration templatesDESCOPE_LOAD_ALL_DYNAMIC_REGISTRATION_TEMPLATESAcción

Load all dynamic registration templates. Load all dynamic registration templates, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load all resourcesDESCOPE_LOAD_ALL_RESOURCESAcción

Load all resources. Load all resources, using a valid management key. MCP servers are the resources with type "mcp".

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load all session classificationsDESCOPE_LOAD_ALL_SESSION_CLASSIFICATIONSAcción

Load all session classifications. Load all session classifications in the project, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load All ApplicationsDESCOPE_LOAD_ALL_SSOAPPLICATIONSAcción

Load All Applications. ### Load all Applications within a project This endpoint returns details of all Applications within your Descope project. ### See Also - Review our [documentation](/manage/idpapplications/) around Applications within Descope.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load all SSO Settings for a tenantDESCOPE_LOAD_ALL_SSOSETTINGSAcción

Load all SSO Settings for a tenant. Load all SSO Settings for a tenant, using a valid management key.

Parámetros de entrada

  • tenant_idstringObligatorio

    Descope tenantId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load all tenant auth access policy rulesDESCOPE_LOAD_ALL_TENANT_AUTH_ACCESS_RULESAcción

Load all tenant auth access policy rules. Load all tenant-level auth access policy rules in evaluation order, using a valid management key.

Parámetros de entrada

  • tenant_idstringObligatorio

    Descope tenantId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load All TenantsDESCOPE_LOAD_ALL_TENANTSAcción

Load All Tenants. ### Load all tenants, using a valid management key. This API endpoint returns details of all configured tenants within the Descope instance. The response includes an array of the tenants and these details for each tenant: - id - name - selfProvisioningDomains ### Next Steps - Once you have this data, you can utilize the response to 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.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load All third party applicationsDESCOPE_LOAD_ALL_THIRD_PARTY_APPLICATIONSAcción

Load All third party applications. Loads all project third party applications, using a valid management key.

Parámetros de entrada

  • pageinteger

    Descope page parameter.

  • limitinteger

    Descope limit parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load all third party applications (v2)DESCOPE_LOAD_ALL_THIRD_PARTY_APPLICATIONS_V2Acción

Load all third party applications (v2). Loads all third party applications in the structured scope-claim mapping model, using a valid management key. Legacy attributesScopes are converted to scopeClaimMapping and returned empty.

Parámetros de entrada

  • pageinteger

    Descope field page.

  • limitinteger

    Descope field limit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load dynamic registration templateDESCOPE_LOAD_DYNAMIC_REGISTRATION_TEMPLATEAcción

Load dynamic registration template. Load a dynamic registration template by id, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load engine by IDDESCOPE_LOAD_ENGINEAcción

Load engine by ID. Load an engine by ID, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load all enginesDESCOPE_LOAD_ENGINESAcción

Load all engines. Load all engines for the project, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load All Members of a specific External GroupDESCOPE_LOAD_GROUP_MEMBERSAcción

Load All Members of a specific External Group. ### Load all members of a specific External group, using a valid management key. This API endpoint allows administrators to load all members of a specific external group that is associated to a tenant. The response contains an array of group objects including the group id, display name, and an array of associated members. ### Next Steps Administrators can review this information and make changes within their IdP or if necessary, [Create a SCIM Group](/api/management/tenants/scim/create-scim-group), [Update an Existing SCIM Group (adding new members)](/api/management/tenants/scim/update-scim-group), or [Delete an Existing SCIM Group](/api/management/tenants/scim/delete-scim-group) ### See also - See [SSO Configuration](/sso) for further details on managing SSO Configurations on a tenant.

Parámetros de entrada

  • sso_idstring

    Optional: return the group only if it came from this SSO configuration (ssoId). Use the reserved id "default_ssoid" for the tenant's default SSO configuration.

  • group_idstring

    Descope field groupId.

  • tenant_idstring

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load All External Groups for a TenantDESCOPE_LOAD_GROUPSAcción

Load All External Groups for a Tenant. ### Load all external groups for a tenant, using a valid management key. This API endpoint allows administrators to load all external groups that are associated to a tenant. The response contains an array of group objects including the group id, display name, and an array of associated members. ### Next Steps Administrators can review this information and make changes within their IdP or if necessary, [Create a SCIM Group](/api/management/tenants/scim/create-scim-group), [Update an Existing SCIM Group (adding new members)](/api/management/tenants/scim/update-scim-group), or [Delete an Existing SCIM Group](/api/management/tenants/scim/delete-scim-group) ### See also - See [SSO Configuration](/sso) for further details on managing SSO Configurations on a tenant.

Parámetros de entrada

  • sso_idstring

    Optional: return only groups from this SSO configuration (ssoId). Empty returns all the tenant's groups. Use the reserved id "default_ssoid" for the tenant's default SSO configuration.

  • tenant_idstring

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load JWT TemplateDESCOPE_LOAD_JWT_TEMPLATEAcción

Load JWT Template. Load a single JWT template by id.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load JWT Template Library EntryDESCOPE_LOAD_JWT_TEMPLATE_LIBRARY_ENTRYAcción

Load JWT Template Library Entry. Load a single library entry by id, including the full claim body — required before applying.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load MCP Server ClientDESCOPE_LOAD_MCP_SERVER_CLIENTAcción

Load MCP Server Client. Load an MCP Server Client by ID, using a valid management key.

Parámetros de entrada

  • idstring

    Descope field id.

  • client_idstring

    Descope field clientId.

  • mcp_server_idstring

    Descope field mcpServerId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load All External Groups for Specific MembersDESCOPE_LOAD_MEMBER_GROUPSAcción

Load All External Groups for Specific Members. ### Load all external group for specific members, using a valid management key. This API endpoint allows administrators to load all external groups for specific members associated with a specific tenant. The tenantId is required and the loginId or userId are optional for further filtering. The response contains an array of group objects including the group id, display name, and an array of associated members. ### Next Steps Administrators can review this information and make changes within their IdP or if necessary, [Create a SCIM Group](/api/management/tenants/scim/create-scim-group), [Update an Existing SCIM Group (adding new members)](/api/management/tenants/scim/update-scim-group), or [Delete an Existing SCIM Group](/api/management/tenants/scim/delete-scim-group) ### See also - See [SSO Configuration](/sso) for further details on managing SSO Configurations on a tenant.

Parámetros de entrada

  • sso_idstring

    Optional: return only groups from this SSO configuration (ssoId). Use the reserved id "default_ssoid" for the tenant's default SSO configuration.

  • user_idsstring[]

    Descope field userIds.

  • login_idsstring[]

    Descope field loginIds.

  • tenant_idstring

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Outbound App by IDDESCOPE_LOAD_OUTBOUND_APPAcción

Get Outbound App by ID. ### Get outbound application by ID This endpoint allows you to retrieve a specific outbound application by its ID.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List All Outbound AppsDESCOPE_LOAD_OUTBOUND_APPSAcción

List All Outbound Apps. ### List all outbound applications This endpoint allows you to retrieve all outbound applications configured in your project.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load outbound SCIM configurationDESCOPE_LOAD_OUTBOUND_SCIMCONFIGURATIONAcción

Load outbound SCIM configuration. Load an outbound SCIM configuration by id. Response merges connector config with webhook status (enabled flag, last export/processing times, failure counter).

Parámetros de entrada

  • app_idstringObligatorio

    Descope appId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load policy ruleDESCOPE_LOAD_POLICY_RULEAcción

Load policy rule. Load a single policy rule row by id.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load policy rule settingsDESCOPE_LOAD_POLICY_RULE_SETTINGSAcción

Load policy rule settings. Load the project-level policy rule settings (default action).

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load ProjectDESCOPE_LOAD_PROJECTAcción

Load Project. Load the project's name, environment and tags, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load resource by IDDESCOPE_LOAD_RESOURCEAcción

Load resource by ID. Load a resource by ID, including MCP servers (type "mcp"), using a valid management key.

Parámetros de entrada

  • idstring

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load resource by URIDESCOPE_LOAD_RESOURCE_BY_URIAcción

Load resource by URI. Load a resource by URI, using a valid management key. For an MCP server, the URI is the MCP server URL.

Parámetros de entrada

  • uristringObligatorio

    Descope uri parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load FGA ResourcesDESCOPE_LOAD_RESOURCES_DETAILSAcción

Load FGA Resources. ### Load FGA resources This endpoint allows you to load resources for Fine-Grained Authorization.

Parámetros de entrada

  • resource_identifiersobject[]Obligatorio

    Descope field resourceIdentifiers.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load an authz schemaDESCOPE_LOAD_SCHEMAAcción

Load an authz schema. Load an authz schema for your project.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load SCIM Access KeysDESCOPE_LOAD_SCIMACCESS_KEYSAcción

Load SCIM Access Keys. Load the SCIM access keys of a tenant, using a valid management key. Returns key metadata only - the cleartext of an access key is available exactly once, when the key is created or rotated, and is never returned again.

Parámetros de entrada

  • sso_idstring

    Omit to return the tenant's SCIM keys across every SSO configuration.

  • tenant_idstringObligatorio

    Descope tenantId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load Application by IDDESCOPE_LOAD_SSOAPPLICATIONAcción

Load Application by ID. ### Load Application by ID within a project This endpoint returns details of a specific Application within your Descope project. ### See Also - Review our [documentation](/manage/idpapplications/) around Applications within Descope.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Tenant's SAML/OIDC SettingsDESCOPE_LOAD_SSOSETTINGSAcción

Get Tenant's SAML/OIDC Settings. ### Get the current SAML/OIDC configuration settings of a tenant, using a valid management key. This API endpoint allows you to get the current SAML/OIDC configuration settings of a tenant. ### See also - See [SSO Configuration](/sso) for further details on managing SSO Configurations on a tenant.

Parámetros de entrada

  • sso_idstring

    Descope ssoId parameter.

  • tenant_idstringObligatorio

    Descope tenantId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load Tenant By IDDESCOPE_LOAD_TENANTAcción

Load Tenant By ID. ### Load tenant by ID, using a valid management key. This API endpoint returns details of the tenant within the Descope instance that matches the ID provided. The response includes an array of the tenants and these details for each tenant: - id - name - selfProvisioningDomains ### Next Steps - Once you have this data, you can utilize the response to 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.

Parámetros de entrada

  • idstringObligatorio

    Descope id parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load third party application by IDDESCOPE_LOAD_THIRD_PARTY_APPLICATIONAcción

Load third party application by ID. Loads project third party application by id, using a valid management key.

Parámetros de entrada

  • idstring

    Descope id parameter.

  • client_idstring

    Descope clientId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load third party application by ID (v2)DESCOPE_LOAD_THIRD_PARTY_APPLICATION_V2Acción

Load third party application by ID (v2). Loads a third party application by id in the structured scope-claim mapping model, using a valid management key. Legacy attributesScopes are converted to scopeClaimMapping and returned empty.

Parámetros de entrada

  • idstring

    Descope id parameter.

  • client_idstring

    Descope clientId parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load UsersDESCOPE_LOAD_USERSAcción

Load Users. Load users by their IDs, using a valid management key.

Parámetros de entrada

  • user_idsstring[]

    max len will be validated in app level, so we can control it with an env var

  • include_invalid_usersboolean

    Descope field includeInvalidUsers.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Log user out of all sessionsDESCOPE_LOGOUT_ALL_USER_DEVICESAcción

Log user out of all sessions. ### Log a user out of all sessions, using a valid management key. This API endpoint allows you to log a user out of all active sessions. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Manage Roles](/manage/roles/) for further details on managing roles. This operation is irreversible and may invalidate prior credentials, sessions, or configuration.

Parámetros de entrada

  • user_idstring

    Descope field userId.

  • login_idstring

    Descope field loginId.

  • session_typesstring[]

    Descope field sessionTypes.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Logout Users from All DevicesDESCOPE_LOGOUT_ALL_USERS_DEVICESAcción

Logout Users from All Devices. Log multiple users out from all of their active sessions, using a valid management key. This operation is irreversible and may invalidate prior credentials, sessions, or configuration.

Parámetros de entrada

  • identifiersstring[]

    The users' login identifiers (external ID or ID).

  • session_typesstring[]

    Descope field sessionTypes.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create New SSO SettingsDESCOPE_NEW_SSOSETTINGS_REQUESTAcción

Create New SSO Settings. ### Create new SSO settings for a tenant, using a valid management key. This API endpoint allows you to create a new SSO configuration for a tenant. The endpoint accepts the tenant ID, an optional SSO ID, and a display name for the SSO configuration. ### See also - See [SSO Configuration](/sso) for further details on managing SSO Configurations on a tenant.

Parámetros de entrada

  • sso_idstring

    Descope field ssoId.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • display_namestringObligatorio

    Descope field displayName.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Patch third party applicationDESCOPE_PATCH_THIRD_PARTY_APPLICATIONAcción

Patch third party application. Patch a third party application, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • logostring

    Descope field logo.

  • namestring

    Descope field name.

  • logo_urlstring

    Descope field logoUrl.

  • force_parboolean

    Descope field forcePar.

  • force_dpopboolean

    Descope field forceDpop.

  • force_mtlsboolean

    Descope field forceMtls.

  • force_pkceboolean

    Descope field forcePkce.

  • client_typestring

    Descope field clientType.

  • descriptionstring

    Descope field description.

  • ciba_enabledboolean

    cibaEnabled allows the CIBA grant (urn:openid:params:grant-type:ciba) for this app and requires cibaSettings. Default false. A public client cannot use this grant.

  • jar_settingsobject

    JAR (JWT-Secured Authorization Request, RFC 9101) settings for Third Party Applications

  • rar_settingsobject

    Descope field rarSettings.

  • ciba_settingsobject

    Descope field cibaSettings.

  • login_page_urlstring

    Descope field loginPageUrl.

  • allowed_tenantsstring[]

    Descope field allowedTenants.

  • default_audiencestring

    Descope field defaultAudience.

  • session_settingsobject

    Descope field sessionSettings.

  • attributes_scopesobject[]

    Descope field attributesScopes.

  • client_assertionsobject[]

    clientAssertions replaces the stored list when provided; absent preserves it.

  • custom_attributesobject

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

  • audience_whiteliststring[]

    Descope field audienceWhitelist.

  • client_auth_methodstring

    clientAuthMethod: "clientSecret" (default when empty), "privateKeyJwt" (only clientAssertions are accepted), "workloadIdentity" (only workloadClientAssertions are accepted) or "mtls" (only a registered mTLS certificate is accepted).

  • connections_scopesobject[]

    Descope field connectionsScopes.

  • permissions_scopesobject[]

    Descope field permissionsScopes.

  • jwt_bearer_disabledboolean

    jwtBearerDisabled rejects the JWT bearer grant (urn:ietf:params:oauth:grant-type:jwt-bearer) for this app. Default false. A public client cannot use this grant.

  • jwt_bearer_settingsobject

    string backChannelLogoutUrl = 10 [(validate).string = {url: true, optional: true}];

  • scope_claim_mappingobject[]

    scopeClaimMapping replaces the stored mapping when provided; when absent the existing mapping is preserved. Consumed by PatchThirdPartyApplicationV2; v1 preserves the legacy attributesScopes.

  • allow_partial_scopesboolean

    Descope field allowPartialScopes.

  • device_code_disabledboolean

    deviceCodeDisabled rejects the device authorization grant (urn:ietf:params:oauth:grant-type:device_code) for this app. Default false.

  • id_jag_target_clientsobject

    idJagTargetClients replaces the stored mapping when provided. An absent field preserves it, and so does an empty map: a protobuf map has no presence, so it reaches the service as nil after the gRPC hop. Clear the mapping through the full update, which always writes the field.

  • approved_callback_urlsstring[]

    Descope field approvedCallbackUrls.

  • refresh_token_disabledboolean

    refreshTokenDisabled rejects the refresh_token grant for this app, so its tokens cannot be refreshed. Default false.

  • token_exchange_disabledboolean

    tokenExchangeDisabled rejects the token exchange grant (urn:ietf:params:oauth:grant-type:token-exchange) for this app. Default false.

  • mtls_client_auth_methodsobject

    Descope field mtlsClientAuthMethods.

  • workload_client_assertionsobject[]

    workloadClientAssertions replaces the stored list when provided; absent preserves it.

  • authorization_code_disabledboolean

    authorizationCodeDisabled rejects the authorization_code grant for this app, including its authorization requests. Default false.

  • client_credentials_disabledboolean

    clientCredentialsDisabled rejects the client_credentials grant for this app. Default false. A public client cannot use this grant.

  • force_add_all_authorization_infoboolean

    Descope field forceAddAllAuthorizationInfo.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Patch third party application (v2)DESCOPE_PATCH_THIRD_PARTY_APPLICATION_V2Acción

Patch third party application (v2). Patch a third party application using the structured scope-claim mapping model, using a valid management key. Only the fields present in the request change; the legacy attributesScopes field is cleared.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • logostring

    Descope field logo.

  • namestring

    Descope field name.

  • logo_urlstring

    Descope field logoUrl.

  • force_parboolean

    Descope field forcePar.

  • force_dpopboolean

    Descope field forceDpop.

  • force_mtlsboolean

    Descope field forceMtls.

  • force_pkceboolean

    Descope field forcePkce.

  • client_typestring

    Descope field clientType.

  • descriptionstring

    Descope field description.

  • ciba_enabledboolean

    cibaEnabled allows the CIBA grant (urn:openid:params:grant-type:ciba) for this app and requires cibaSettings. Default false. A public client cannot use this grant.

  • jar_settingsobject

    JAR (JWT-Secured Authorization Request, RFC 9101) settings for Third Party Applications

  • rar_settingsobject

    Descope field rarSettings.

  • ciba_settingsobject

    Descope field cibaSettings.

  • login_page_urlstring

    Descope field loginPageUrl.

  • allowed_tenantsstring[]

    Descope field allowedTenants.

  • default_audiencestring

    Descope field defaultAudience.

  • session_settingsobject

    Descope field sessionSettings.

  • client_assertionsobject[]

    clientAssertions replaces the stored list when provided; absent preserves it.

  • custom_attributesobject

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

  • audience_whiteliststring[]

    Descope field audienceWhitelist.

  • client_auth_methodstring

    clientAuthMethod: "clientSecret" (default when empty), "privateKeyJwt" (only clientAssertions are accepted), "workloadIdentity" (only workloadClientAssertions are accepted) or "mtls" (only a registered mTLS certificate is accepted).

  • connections_scopesobject[]

    Descope field connectionsScopes.

  • permissions_scopesobject[]

    Descope field permissionsScopes.

  • jwt_bearer_disabledboolean

    jwtBearerDisabled rejects the JWT bearer grant (urn:ietf:params:oauth:grant-type:jwt-bearer) for this app. Default false. A public client cannot use this grant.

  • jwt_bearer_settingsobject

    Descope field jwtBearerSettings.

  • scope_claim_mappingobject[]

    scopeClaimMapping replaces the stored mapping when provided; when absent the existing mapping is preserved. Either way the legacy attributesScopes are cleared (v2 write-replace).

  • allow_partial_scopesboolean

    Descope field allowPartialScopes.

  • device_code_disabledboolean

    deviceCodeDisabled rejects the device authorization grant (urn:ietf:params:oauth:grant-type:device_code) for this app. Default false.

  • id_jag_target_clientsobject

    idJagTargetClients replaces the stored mapping when provided. An absent field preserves it, and so does an empty map: a protobuf map has no presence, so it reaches the service as nil after the gRPC hop. Clear the mapping through the full update, which always writes the field.

  • approved_callback_urlsstring[]

    Descope field approvedCallbackUrls.

  • refresh_token_disabledboolean

    refreshTokenDisabled rejects the refresh_token grant for this app, so its tokens cannot be refreshed. Default false.

  • token_exchange_disabledboolean

    tokenExchangeDisabled rejects the token exchange grant (urn:ietf:params:oauth:grant-type:token-exchange) for this app. Default false.

  • mtls_client_auth_methodsobject

    mtlsClientAuthMethods replaces the stored certificates when set; absent keeps them.

  • workload_client_assertionsobject[]

    workloadClientAssertions replaces the stored list when provided; absent preserves it.

  • authorization_code_disabledboolean

    authorizationCodeDisabled rejects the authorization_code grant for this app, including its authorization requests. Default false.

  • client_credentials_disabledboolean

    clientCredentialsDisabled rejects the client_credentials grant for this app. Default false. A public client cannot use this grant.

  • force_add_all_authorization_infoboolean

    Descope field forceAddAllAuthorizationInfo.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Patch UserDESCOPE_PATCH_USERAcción

Patch User. ### Patch a user's details, using a valid management key. This API endpoint will patch a user's details of a user utilizing a valid management key. Additionally, you can patch a user with multiple login IDs by passing an array of loginIds in string format within the `additionalIdentifiers` key. This allows you to add additional login identifiers to an existing user without performing a full user update. <Callout title="Important" type="warn"> When adding additional identifiers to a user who has an SSO login ID, the user may be able to authenticate outside of SSO whenever SSO is not enforced and non-SSO methods (such as magic link or password) are available. See [Risks in Merging SSO and Non-SSO Identities](/sso/merging-sso-identities-risk) before using this field on SSO users. </Callout> ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object.

Parámetros de entrada

  • namestring

    Descope field name.

  • emailstring

    Descope field email.

  • phonestring

    Descope field phone.

  • statusstring

    Descope field status.

  • picturestring

    Descope field picture.

  • login_idstring

    Descope field loginId.

  • given_namestring

    Descope field givenName.

  • role_namesstring[]

    Project-level role names for the user. Omit this field to leave the user's roles unchanged, send an empty array to remove all of them, or send an array of role names to replace them.

  • family_namestring

    Descope field familyName.

  • middle_namestring

    Descope field middleName.

  • sso_app_idsany

    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.

  • user_tenantsany

    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.

  • recovery_emailstring

    Descope field recoveryEmail.

  • recovery_phonestring

    Descope field recoveryPhone.

  • verified_emailboolean

    Descope field verifiedEmail.

  • verified_phoneboolean

    Descope field verifiedPhone.

  • custom_attributesobject

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

  • family_associationsany

    absent/null means "don't touch families"; a list (even empty) replaces the full family membership. each AssociatedFamily entry carries its own roleNames and familyScopedAttributes

  • additional_identifiersstring[]

    Descope field additionalIdentifiers.

  • session_classificationstring

    The session classification to assign the user to, by name. Omit the field to leave the current assignment untouched, send an empty string to remove it, and send a name to assign that classification. A name that does not match an existing classification is rejected.

  • verified_recovery_emailboolean

    Descope field verifiedRecoveryEmail.

  • verified_recovery_phoneboolean

    Descope field verifiedRecoveryPhone.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Patch Users BatchDESCOPE_PATCH_USER_BATCHAcción

Patch Users Batch. Patch users in batch, using a valid management key.

Parámetros de entrada

  • usersobject[]

    Descope field users.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Recalculate SSO MappingsDESCOPE_RECALCULATE_SSOMAPPINGSAcción

Recalculate SSO Mappings. Recalculate SSO group to role mappings for all users in a tenant, using a valid management key.

Parámetros de entrada

  • sso_idstring

    Descope field ssoId.

  • tenant_idstringObligatorio

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove IPs from ListDESCOPE_REMOVE_IPS_FROM_LISTAcción

Remove IPs from List. Remove one or more IPs from an existing IP list

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • ipsstring[]Obligatorio

    Descope field ips.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove SSO User from TenantDESCOPE_REMOVE_SSOSUFFIX_FROM_EXTERNAL_IDAcción

Remove SSO User from Tenant. ### Remove an SSO user from a tenant, using a valid management key. This API endpoint removes an SSO user's association with a tenant. ### See also - See [Tenant Management](/management/tenant-management) for further details on managing tenants.

Parámetros de entrada

  • tenant_idstringObligatorio

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove Texts from ListDESCOPE_REMOVE_TEXTS_FROM_LISTAcción

Remove Texts from List. Remove one or more text items from an existing text list

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • textsstring[]Obligatorio

    Descope field texts.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove User PasskeyDESCOPE_REMOVE_USER_PASSKEYAcción

Remove User Passkey. Remove a specific passkey for a user by credential ID, using a valid management key.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • credential_idstringObligatorio

    Descope field credentialId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete User's PasskeysDESCOPE_REMOVE_USER_PASSKEYSAcción

Delete User's Passkeys. ### Delete a user's Passkeys, using a valid management key. This API endpoint will delete all existing passkeys for the user ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • credential_idstring

    Descope field credentialId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove User Recovery CodesDESCOPE_REMOVE_USER_RECOVERY_CODESAcción

Remove User Recovery Codes. Remove (revoke) all recovery codes for a user, using a valid management key.

Parámetros de entrada

  • login_idstringObligatorio

    The user's login ID (external ID) or user ID

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete User's TOTP SeedDESCOPE_REMOVE_USER_TOTPAcción

Delete User's TOTP Seed. ### Delete an existing user's TOTP, using a valid management key. This API endpoint allows you to delete an existing user's TOTP seed. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reorder auth access policy ruleDESCOPE_REORDER_AUTH_ACCESS_RULEAcción

Reorder auth access policy rule. Move a project-level auth access policy rule to a 1-based position in the evaluation order. Rules in between shift accordingly. Returns all rules in their new order, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • positionintegerObligatorio

    Descope field position.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reorder a policy ruleDESCOPE_REORDER_POLICY_RULEAcción

Reorder a policy rule. Move one policy rule to a 1-based position in the evaluation order; rules in between shift accordingly. Rules are evaluated first-match in this order.

Parámetros de entrada

  • rule_idstringObligatorio

    Descope field ruleId.

  • positionintegerObligatorio

    Descope field position.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reorder tenant auth access policy ruleDESCOPE_REORDER_TENANT_AUTH_ACCESS_RULEAcción

Reorder tenant auth access policy rule. Move a tenant-level auth access policy rule to a 1-based position in the tenant evaluation order. Rules in between shift accordingly. Returns all rules in their new order, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • positionintegerObligatorio

    Descope field position.

  • tenant_idstringObligatorio

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update TenantDESCOPE_REPLACE_TENANTAcción

Update Tenant. ### 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](/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.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • namestringObligatorio

    Descope field name.

  • disabledboolean

    Descope field disabled.

  • auth_typestring

    deprecated - authType should be set via ConfigureTenantSettings

  • enforce_ssoboolean

    Descope field enforceSSO.

  • approved_domainsany

    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

  • role_inheritancestring

    Descope field roleInheritance.

  • custom_attributesobject

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

  • federated_app_idsstring[]

    Descope field federatedAppIds.

  • enforce_ssoexclusionsstring[]

    Descope field enforceSSOExclusions.

  • self_provisioning_domainsstring[]

    Descope field selfProvisioningDomains.

  • enforce_ssoexclusion_permissionsstring[]

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

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Resolve governance access requestDESCOPE_RESOLVE_GOVERNANCE_ACCESS_REQUESTAcción

Resolve governance access request. Approve or deny a pending Agentic Governance Suite access request, using a valid management key. Approving provisions the requested agent client. The resolution is attributed to the Management API. Requires the Agentic Governance Suite in the company license.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • actionstringObligatorio

    "approve" or "deny".

  • resolution_notestring

    Optional note recorded with the resolution.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load a list of defined relations for the given resourceDESCOPE_RESOURCE_RELATIONSAcción

Load a list of defined relations for the given resource. Load a list of defined relations for the given resource.

Parámetros de entrada

  • resourcestringObligatorio

    Descope field resource.

  • ignore_target_set_relationsboolean

    Descope field ignoreTargetSetRelations.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Restore FGA BackupDESCOPE_RESTORE_FGABACKUPAcción

Restore FGA Backup. Restore from an FGA backup. This operation is irreversible and may invalidate prior credentials, sessions, or configuration.

Parámetros de entrada

  • backup_idstringObligatorio

    Descope field backupId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Revoke agentic identitiesDESCOPE_REVOKE_AGENTIC_IDENTITIESAcción

Revoke agentic identities. Revoke agentic identities and invalidate their consents — the same operation as [revoking access in the Console](/agentic-identity-hub/core-components/agents#revoking-access). Combine filters to narrow scope: - `clientId` + `userId` — one user's grant to a specific agent - `consentId` + `userId` — a specific consent for a user - `resourceId` + `userId` — all of a user's grants on one MCP server [Resource](/resources) - `userId` alone — all agentic identities for that user across every MCP server Returns the number of identities revoked in `revoked`.

Parámetros de entrada

  • user_idstring

    Descope field userId.

  • client_idstring

    Descope field clientId.

  • consent_idstring

    Descope field consentId.

  • resource_idstring

    Descope field resourceId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Revoke SCIM Access KeysDESCOPE_REVOKE_SCIMACCESS_KEYSAcción

Revoke SCIM Access Keys. Revoke every SCIM access key of a tenant for the given SSO configuration, using a valid management key. This disables SCIM provisioning for that tenant until a new key is created and configured in the identity provider. Use revokeMode DEACTIVATE to suspend the keys reversibly instead of deleting them.

Parámetros de entrada

  • sso_idstring

    The SSO configuration to revoke. Omit it to target the tenant's default configuration - it does NOT mean "every configuration", so a tenant with several SSO configurations keeps provisioning through the keys of the ones not named here. Call LoadSCIMAccessKeys first to see which configurations hold keys.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • revoke_modestringenum

    How the keys are taken out of service. SCIM_KEY_REVOKE_MODE_DELETE (0, the default) deletes them permanently. SCIM_KEY_REVOKE_MODE_DEACTIVATE (1) disables them reversibly, so they can be restored later with Activate SCIM Access Keys.

    SCIM_KEY_REVOKE_MODE_DELETESCIM_KEY_REVOKE_MODE_DEACTIVATE

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Revoke a named SSO application secretDESCOPE_REVOKE_SSOAPPLICATION_SECRETAcción

Revoke a named SSO application secret. Revoke a named OIDC client secret of an SSO application, using a valid management key. Returns the remaining secret metadata.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • app_idstringObligatorio

    Descope field appId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Revoke SSO Admin LinkDESCOPE_REVOKE_TENANT_ADMIN_LINK_SSOAcción

Revoke SSO Admin Link. ### Revoke an SSO admin link for a tenant, using a valid management key. This API endpoint revokes an existing SSO admin link for a tenant.

Parámetros de entrada

  • sso_idstring

    Descope field ssoId.

  • tenant_idstringObligatorio

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Revoke a named third party application secretDESCOPE_REVOKE_THIRD_PARTY_APPLICATION_SECRETAcción

Revoke a named third party application secret. Revoke a named client secret of a third party application, using a valid management key. Returns the remaining secret metadata.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • namestringObligatorio

    Descope field name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rotate Access KeyDESCOPE_ROTATE_ACCESS_KEYAcción

Rotate Access Key. Rotate an access key — regenerates the secret for an existing access key while preserving the same key ID, name, roles, tenants, expiry and metadata. The new cleartext is returned exactly once and the previous secret stops working immediately. This operation is irreversible and may invalidate prior credentials, sessions, or configuration.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rotate engine secretDESCOPE_ROTATE_ENGINE_SECRETAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Rotate engine secret. Rotate an engine's secret, returning the new secret. The previous secret is immediately invalidated. Requires a valid management key. This operation is irreversible and may invalidate prior credentials, sessions, or configuration.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rotate MCP Server Client SecretDESCOPE_ROTATE_MCP_SERVER_CLIENT_SECRETAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Rotate MCP Server Client Secret. Rotate MCP Server Client secret, using a valid management key. This operation is irreversible and may invalidate prior credentials, sessions, or configuration.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • mcp_server_idstringObligatorio

    Descope field mcpServerId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rotate SCIM Access KeyDESCOPE_ROTATE_SCIMACCESS_KEYAcción

Rotate SCIM Access Key. Rotate the SCIM access keys of a tenant, using a valid management key. A new key is created and the tenant's existing SCIM keys for the same SSO configuration are revoked, either deleted or deactivated according to revokeMode. Update the identity provider with the new bearer token immediately - until you do, SCIM provisioning for that tenant will fail. The cleartext is returned exactly once. This operation is irreversible and may invalidate prior credentials, sessions, or configuration.

Parámetros de entrada

  • namestring

    Descope field name.

  • sso_idstring

    The SSO configuration to rotate. Omit it to target the tenant's default configuration - it does NOT mean "every configuration", so a tenant with several SSO configurations keeps provisioning through the keys of the ones not named here.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • descriptionstring

    Descope field description.

  • expire_timestring

    Descope field expireTime.

  • revoke_modestringenum

    How the keys being replaced are taken out of service. SCIM_KEY_REVOKE_MODE_DELETE (0, the default) deletes them permanently. SCIM_KEY_REVOKE_MODE_DEACTIVATE (1) disables them reversibly, so they can be restored later with Activate SCIM Access Keys.

    SCIM_KEY_REVOKE_MODE_DELETESCIM_KEY_REVOKE_MODE_DEACTIVATE

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rotate SSO application secret by application IDDESCOPE_ROTATE_SSOAPPLICATION_SECRETAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Rotate SSO application secret by application ID. Rotate the dedicated OIDC client secret of an SSO application by its ID, using a valid management key. This operation is irreversible and may invalidate prior credentials, sessions, or configuration.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rotate third party application secret by application IDDESCOPE_ROTATE_THIRD_PARTY_APPLICATION_SECRETAcción

Returns sensitive reusable credentials or tokens. Expose the result only to an explicitly authorized caller and never log it. Rotate third party application secret by application ID. Rotate the project third party application secret by the application id, using a valid management key. This operation is irreversible and may invalidate prior credentials, sessions, or configuration.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Run Management FlowDESCOPE_RUN_MANAGEMENT_FLOWAcción

Run Management Flow. Run a management flow, using a valid management key.

Parámetros de entrada

  • flow_idstring

    Descope field flowId.

  • optionsobject

    Descope field options.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Run Management Flow asynchronouslyDESCOPE_RUN_MANAGEMENT_FLOW_ASYNCAcción

Run Management Flow asynchronously. Run a management flow asynchronously, using a valid management key.

Parámetros de entrada

  • flow_idstring

    Descope field flowId.

  • optionsobject

    Descope field options.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Save an authz namespaceDESCOPE_SAVE_NAMESPACEAcción

Save an authz namespace. Save (create or update) an authz namespace for your project.

Parámetros de entrada

  • old_namestring

    Old name if we are renaming the namespace

  • namespaceobject

    Descope field namespace.

  • schema_namestring

    optional upgrade to the schema name

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Save an authz relation definitionDESCOPE_SAVE_RELATION_DEFINITIONAcción

Save an authz relation definition. Save (create or update) an authz relation definition for your project.

Parámetros de entrada

  • old_namestring

    Old name if we are renaming the relation definition

  • namespacestringObligatorio

    Descope field namespace.

  • schema_namestring

    optional upgrade to the schema name

  • relation_definitionobject

    Descope field relationDefinition.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Save FGA ResourcesDESCOPE_SAVE_RESOURCES_DETAILSAcción

Save FGA Resources. ### Save FGA resources This endpoint allows you to save resources for Fine-Grained Authorization.

Parámetros de entrada

  • resources_detailsobject[]Obligatorio

    Descope field resourcesDetails.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Save an authz schemaDESCOPE_SAVE_SCHEMAAcción

Save an authz schema. Save (create or update) an authz schema for your project.

Parámetros de entrada

  • schema_object

    Descope field schema.

  • upgradeboolean

    Descope field upgrade.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Access KeysDESCOPE_SEARCH_ACCESS_KEYSAcción

Search Access Keys. ### Search access keys, using a valid management key. This API endpoint allows administrators to search for details of existing access keys for a given array of tenants. The response contains an array of details for the access keys returned by the search including associated roles and tenants as well as details of the key's creation, status, and expiration. ### Next Steps Once you have this data, you can utilize the response to [Update an access key](/api/management/access-keys/update-access-key), [Activate an access key](/api/management/access-keys/activate-access-key), [Deactivate an access key](/api/management/access-keys/deactivate-access-key), or [Delete an access key](/api/management/access-keys/delete-access-key). ### See also - See [Access Key Management](/access-keys) for further details on managing access keys.

Parámetros de entrada

  • sortobject[]

    Descope field sort.

  • textstring

    Descope field text.

  • tenant_idsstring[]

    Descope field tenantIds.

  • bound_user_idstring

    Descope field boundUserId.

  • creating_userstring

    Descope field creatingUser.

  • custom_attributesobject

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

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search agentic identitiesDESCOPE_SEARCH_AGENTIC_IDENTITIESAcción

Search agentic identities. List [agentic identities](/agentic-identity-hub/core-components/agents) — authorization records that bind an OAuth client to a user, tenant, or autonomous client. Filter by `clientId`, `resourceId`, `userId`, or `consentId`. Returns consent details, agent name, resource ID, and client ID for each identity. Use `page` (zero-based) and `limit` for pagination.

Parámetros de entrada

  • pageinteger

    Page number starting with 0 for the first page

  • limitinteger

    Descope field limit.

  • user_idstring

    Descope field userId.

  • client_idstring

    Descope field clientId.

  • consent_idstring

    Descope field consentId.

  • resource_idstring

    Descope field resourceId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search AnalyticsDESCOPE_SEARCH_ANALYTICSAcción

Search Analytics. Search analytics (summarized) data grouped by time periods, using a valid management key.

Parámetros de entrada

  • tostring

    Descope field to.

  • geosstring[]

    Descope field geos.

  • from_string

    Descope field from.

  • actionsstring[]

    Descope field actions.

  • devicesstring[]

    Descope field devices.

  • methodsstring[]

    Descope field methods.

  • tenantsstring[]

    Descope field tenants.

  • group_by_geoboolean

    Descope field groupByGeo.

  • group_by_actionboolean

    Descope field groupByAction.

  • group_by_deviceboolean

    Descope field groupByDevice.

  • group_by_methodboolean

    Descope field groupByMethod.

  • group_by_tenantboolean

    Descope field groupByTenant.

  • excluded_actionsstring[]

    Descope field excludedActions.

  • group_by_createdstring

    Descope field groupByCreated.

  • group_by_referrerboolean

    Descope field groupByReferrer.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Audit EventsDESCOPE_SEARCH_AUDIT_EVENTSAcción

Search sensitive project audit events with identity, tenant, action, network, text, and time filters; returns one zero-based page. Results may contain personal data, addresses, headers, device details, and nested request metadata. Handle them as sensitive. Descope limits audit search to 10 requests per 60 seconds; honor Retry-After before retrying.

Parámetros de entrada

  • geosstring[]

    Match any of these geographic values.

  • pageinteger

    Zero-based audit page number.

  • sizeinteger

    Number of audit events in this page.

  • textstring

    Full-text audit search.

  • levelsstring[]

    Match any of these audit levels.

  • actionsstring[]

    Match any of these audit action names.

  • devicesstring[]

    Match any of these device values.

  • methodsstring[]

    Match any of these authentication methods.

  • to_timestring

    Inclusive audit end time in the provider-supported timestamp format.

  • user_idsstring[]

    Match events for any of these Descope user IDs.

  • actor_idsstring[]

    Match any of these actor IDs.

  • from_timestring

    Inclusive audit start time in the provider-supported timestamp format.

  • no_tenantsboolean

    When true, include events without a tenant association alongside any tenant-scoped results selected by the other filters.

  • tenant_idsstring[]

    Match events for any of these tenant IDs.

  • audit_typesstring[]

    Match any of these audit types.

  • external_idsstring[]

    Match any of these external login IDs.

  • oldest_firstboolean

    Sort oldest events first instead of newest first.

  • search_fieldsobject[]

    Custom-attribute filters with field, values or value, optional negation, and provider value type.

  • excluded_actionsstring[]

    Exclude these audit action names.

  • remote_addressesstring[]

    Match any of these source network addresses.

  • login_ids_containstring[]

    Include events whose login IDs contain any supplied value.

  • excluded_external_idsstring[]

    Exclude events for these external IDs.

  • login_ids_not_containstring[]

    Exclude events whose login IDs contain any supplied value.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search FamiliesDESCOPE_SEARCH_FAMILIESAcción

Search Families. Search families, using a valid management key.

Parámetros de entrada

  • pageinteger

    Descope field page.

  • sizeinteger

    Descope field size.

  • free_textstring

    Descope field freeText.

  • family_idsstring[]

    Descope field familyIds.

  • family_namesstring[]

    Descope field familyNames.

  • custom_attributesobject

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

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search for FGA mappable resourcesDESCOPE_SEARCH_FGAMAPPABLE_RESOURCESAcción

Search for FGA mappable resources. Search for FGA mappable resources.

Parámetros de entrada

  • tenant_idstringObligatorio

    Descope field tenantId.

  • resources_limitstring

    Descope field resourcesLimit.

  • resources_queriesobject[]

    Descope field resourcesQueries.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search governance access requestsDESCOPE_SEARCH_GOVERNANCE_ACCESS_REQUESTSAcción

Search governance access requests. Search the project's Agentic Governance Suite access requests, with filtering, sorting and paging, using a valid management key. Requires the Agentic Governance Suite in the company license.

Parámetros de entrada

  • pageinteger

    0-based page number, used with limit.

  • sortobject[]

    Sort order. Defaults to newest first.

  • textstring

    Free-text search across the request's text fields.

  • limitinteger

    Maximum number of requests to return. 0 returns all matches.

  • search_fieldsobject[]

    Per-field filters, combined with AND. Unknown fields are ignored.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Management KeysDESCOPE_SEARCH_MANAGEMENT_KEYSAcción

Search Management Keys. Search management keys using another management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search MCP Server ClientsDESCOPE_SEARCH_MCP_SERVER_CLIENTSAcción

Search MCP Server Clients. Search MCP Server Clients for a specific MCP Server, using a valid management key.

Parámetros de entrada

  • tagstring

    Descope field tag.

  • namestring

    Descope field name.

  • pageinteger

    Descope field page.

  • sortobject[]

    Descope field sort.

  • textstring

    Descope field text.

  • limitinteger

    Descope field limit.

  • statusstring

    Descope field status.

  • client_idstring

    Descope field clientId.

  • mcp_server_idstringObligatorio

    Descope field mcpServerId.

  • registration_methodstring

    Descope field registrationMethod.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search policy rulesDESCOPE_SEARCH_POLICY_RULESAcción

Search policy rules. Search policy rule rows by filters (text, action_kind, effect, principal_type, resource_type, enabled). Paged and sorted.

Parámetros de entrada

  • pageinteger

    Descope field page.

  • sortobject[]

    Descope field sort.

  • textstring

    Descope field text.

  • effectstring[]

    Descope field effect.

  • enabledboolean

    Descope field enabled.

  • batch_sizeinteger

    Descope field batchSize.

  • action_kindstring[]

    Descope field actionKind.

  • rule_familystring[]

    Descope field ruleFamily.

  • resource_typestring[]

    Descope field resourceType.

  • search_fieldsobject[]

    Descope field searchFields.

  • principal_typestring[]

    Descope field principalType.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search RolesDESCOPE_SEARCH_ROLESAcción

Search Roles. ### Search roles, using a valid management key. This API endpoint allows administrators to search against existing roles. This endpoint returns an array of roles including their name, description, and permissionsNames that match the search parameters. ### See also - See [User Authorization](/manage/roles/) for further details on managing roles and permissions.

Parámetros de entrada

  • sortobject[]

    Descope field sort.

  • textstring

    Full text search across relevant columns

  • role_idsstring[]

    Descope field roleIds.

  • role_namesstring[]

    Descope field roleNames.

  • tenant_idsstring[]

    Descope field tenantIds.

  • role_name_likestring

    Descope field roleNameLike.

  • permission_namesstring[]

    Descope field permissionNames.

  • include_project_rolesboolean

    relevant when tenantIds are set

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search TenantsDESCOPE_SEARCH_TENANTSAcción

List or filter project tenants by IDs, names, domains, attributes, authentication type, or hierarchy.

Parámetros de entrada

  • auth_typestring

    Match the provider authentication type.

  • tenant_idsstring[]

    Match any of these tenant IDs.

  • sso_domainsstring[]

    Match tenant SSO domains.

  • tenant_namesstring[]

    Match any of these tenant names.

  • top_level_onlyboolean

    Return only top-level tenants.

  • parent_tenant_idstring

    Return direct children of this parent tenant ID.

  • custom_attributesobject

    Match configured tenant custom attributes by key and value.

  • self_provisioning_domainsstring[]

    Match tenant self-provisioning domains.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search test UsersDESCOPE_SEARCH_TEST_USERSAcción

Search test Users. Search test users, using a valid management key.

Parámetros de entrada

  • pageinteger

    Page number starting with 0 for the first page

  • scimboolean

    Descope field scim.

  • sortobject[]

    Descope field sort.

  • textstring

    Full text search across relevant columns

  • totpboolean

    Descope field totp.

  • limitinteger

    Default is 100 if not specified

  • emailsstring[]

    Descope field emails.

  • offsetinteger

    Direct row offset for pagination (0-based). When set to a positive value, this takes precedence over the page-based offset (page * limit).

  • phonesstring[]

    Descope field phones.

  • login_idstring

    Search for specific login ID

  • passwordboolean

    Descope field password.

  • sso_onlyboolean

    Bring only users that have SSO external IDs

  • statusesstring[]

    If not empty then users must be in one of those statuses

  • user_idsstring[]

    Descope field userIds.

  • webauthnboolean

    Descope field webauthn.

  • dependentboolean

    If provided, filter users by whether they are a dependent user (i.e. a user that is linked to a family and does not have their own login credentials)

  • login_idsstring[]

    Descope field loginIds.

  • scim_onlyboolean

    Bring only users that provisioned or updated by SCIM

  • family_idsstring[]

    If not empty then users must be members of at least one of these families

  • role_namesstring[]

    If not empty then users must have one of the specified roles

  • tenant_idsstring[]

    If not empty then users must be members of at least one of these tenants

  • sso_app_idsstring[]

    Descope field ssoAppIds.

  • lock_reasonsstring[]

    If not empty then only users that were disabled by brute-force protection with one of the given lock reasons

  • verified_emailboolean

    If provided, filter users by whether their email is verified

  • verified_phoneboolean

    If provided, filter users by whether their phone is verified

  • with_test_userboolean

    Return also users which are test users

  • recovery_emailsstring[]

    If not empty then users must have one of the specified recovery emails (exact match)

  • recovery_phonesstring[]

    If not empty then users must have one of the specified recovery phones (exact match)

  • tenant_role_idsobject

    Descope field tenantRoleIds.

  • test_users_onlyboolean

    Return only test users

  • to_created_timestring

    Upper bound on user creation time, inclusive. Unix timestamp in milliseconds, sent as a string (e.g. "1746057600000").

  • selected_columnsstring[]

    Descope field selectedColumns.

  • to_modified_timestring

    Upper bound on user modification time, inclusive. Unix timestamp in milliseconds, sent as a string.

  • custom_attributesobject

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

  • from_created_timestring

    Lower bound on user creation time, inclusive. Unix timestamp in milliseconds, sent as a string (e.g. "1743465600000").

  • temp_lock_reasonsstring[]

    If not empty then only users that are currently temporarily locked by brute-force protection with one of the given lock reasons (TOTP has no temporary lock)

  • tenant_role_namesobject

    Descope field tenantRoleNames.

  • from_modified_timestring

    Lower bound on user modification time, inclusive. Unix timestamp in milliseconds, sent as a string.

  • to_last_login_timestring

    Upper bound on the user's last authentication time, inclusive. Unix timestamp in milliseconds, sent as a string. Users that never authenticated are excluded.

  • include_sub_tenantsboolean

    Descope field includeSubTenants.

  • from_last_login_timestring

    Lower bound on the user's last authentication time, inclusive. Unix timestamp in milliseconds, sent as a string (e.g. "1743465600000"). Users that never authenticated are excluded.

  • verified_recovery_emailboolean

    If provided, filter users by whether their recovery email is verified

  • verified_recovery_phoneboolean

    If provided, filter users by whether their recovery phone is verified

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search third party application consentsDESCOPE_SEARCH_THIRD_PARTY_APPLICATION_CONSENTSAcción

Search third party application consents. Search OAuth user consents for [Inbound Apps](/identity-federation/inbound-apps). Filter by `appId`, `userId`, `consentId`, or `tenantId`. For [agentic identities](/agentic-identity-hub/core-components/agents) (MCP server authorizations), use [Search agentic identities](/api/management/agentic-identity-hub/search-agentic-identities) instead — it returns agent name, resource ID, and client ID alongside each consent.

Parámetros de entrada

  • pageinteger

    Page number starting with 0 for the first page

  • limitinteger

    Descope field limit.

  • app_idstring

    Descope field appId.

  • user_idstring

    Descope field userId.

  • tenant_idstring

    Descope field tenantId.

  • consent_idstring

    Descope field consentId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search UsersDESCOPE_SEARCH_USERSAcción

Search project users with identity, tenant, role, status, authentication-state, and time filters; returns one offset-controlled page.

Parámetros de entrada

  • pageinteger

    Zero-based page number; ignored for positioning when a positive offset is supplied.

  • scimboolean

    Filter by SCIM state.

  • sortobject[]

    Sort fields, each with a supported field and descending flag.

  • textstring

    Full-text search across relevant user fields.

  • totpboolean

    Filter by whether TOTP is configured.

  • limitinteger

    Maximum users to return; Descope defaults to 100.

  • emailsstring[]

    Match any of these exact email addresses.

  • offsetinteger

    Zero-based direct row offset; positive values override page-based positioning.

  • phonesstring[]

    Match any of these exact phone numbers.

  • login_idstring

    Return users matching this specific login ID.

  • passwordboolean

    Filter by whether password authentication is configured.

  • sso_onlyboolean

    Return only users with SSO external IDs.

  • statusesstring[]

    Return users with status invited, enabled, disabled, or expired.

  • user_idsstring[]

    Match any of these Descope user IDs.

  • webauthnboolean

    Filter by whether WebAuthn is configured.

  • dependentboolean

    Filter by whether the user is a dependent family user.

  • login_idsstring[]

    Match any of these exact login IDs.

  • scim_onlyboolean

    Return only users provisioned or updated by SCIM.

  • family_idsstring[]

    Return users belonging to at least one of these family IDs.

  • role_namesstring[]

    Return users having at least one of these role names.

  • tenant_idsstring[]

    Return users belonging to at least one of these tenant IDs.

  • sso_app_idsstring[]

    Match users assigned to any of these SSO application IDs.

  • lock_reasonsstring[]

    Filter users disabled for password, TOTP, recovery-code, or security-question brute-force locks.

  • verified_emailboolean

    Filter by whether the primary email is verified.

  • verified_phoneboolean

    Filter by whether the primary phone is verified.

  • with_test_userboolean

    Include test users in results.

  • recovery_emailsstring[]

    Match any of these exact recovery emails.

  • recovery_phonesstring[]

    Match any of these exact recovery phones.

  • tenant_role_idsobject

    Map tenant IDs to {values: role IDs, and: boolean} filters.

  • test_users_onlyboolean

    Return only test users.

  • to_created_timestring

    Inclusive upper creation-time bound as Unix milliseconds encoded as a string.

  • selected_columnsstring[]

    Limit response population to these provider column names.

  • to_modified_timestring

    Inclusive upper modification-time bound as Unix milliseconds encoded as a string.

  • custom_attributesobject

    Match configured user custom attributes by key and value.

  • from_created_timestring

    Inclusive lower creation-time bound as Unix milliseconds encoded as a string.

  • temp_lock_reasonsstring[]

    Filter users temporarily locked for password, recovery-code, or security-question failures.

  • tenant_role_namesobject

    Map tenant IDs to {values: role names, and: boolean} filters.

  • from_modified_timestring

    Inclusive lower modification-time bound as Unix milliseconds encoded as a string.

  • to_last_login_timestring

    Inclusive upper last-login bound as Unix milliseconds encoded as a string; excludes users who never authenticated.

  • include_sub_tenantsboolean

    Include users in descendant tenants.

  • from_last_login_timestring

    Inclusive lower last-login bound as Unix milliseconds encoded as a string; excludes users who never authenticated.

  • verified_recovery_emailboolean

    Filter by whether the recovery email is verified.

  • verified_recovery_phoneboolean

    Filter by whether the recovery phone is verified.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send SSO Admin LinkDESCOPE_SEND_TENANT_ADMIN_LINK_SSOAcción

Send SSO Admin Link. ### Send an SSO admin link to a tenant administrator, using a valid management key. This API endpoint sends an SSO admin link via email to the specified tenant administrator. This operation is irreversible and may invalidate prior credentials, sessions, or configuration.

Parámetros de entrada

  • emailstringObligatorio

    Descope field email.

  • sso_idstring

    Descope field ssoId.

  • tenant_idstringObligatorio

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set access key attributeDESCOPE_SET_ACCESS_KEY_ATTRIBUTEAcción

Set access key attribute. Create or update a single access key custom attribute definition (upsert by machine name), using a valid management key.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • typestringObligatorio

    Descope field type.

  • optionsany

    JSON arrays of strings; Value makes empty and absent distinct: null/absent = keep, [] = clear, values = set. Validated in the service

  • display_namestringObligatorio

    Descope field displayName.

  • edit_permissionsany

    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.

  • view_permissionsany

    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.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set admin portal settingsDESCOPE_SET_ADMIN_PORTAL_SETTINGSAcción

Set admin portal settings. Update the project's admin portal settings, using a valid management key.

Parámetros de entrada

  • enabledboolean

    Descope field enabled.

  • widgetsany

    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.

  • style_idstring

    Descope field styleId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set auth access policy settingsDESCOPE_SET_AUTH_ACCESS_SETTINGSAcción

Set auth access policy settings. Update the project-level auth access policy settings. ruleIds sets the full evaluation order and must list every rule exactly once. Fields that are not sent keep their stored values, using a valid management key.

Parámetros de entrada

  • rule_idsany

    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.

  • default_actionstring

    Descope field defaultAction.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set embedded link settingsDESCOPE_SET_EMBEDDED_LINK_SETTINGSAcción

Set embedded link settings. Set the project's embedded link settings, using a valid management key.

Parámetros de entrada

  • enabledboolean

    Descope field enabled.

  • expiration_timeinteger

    Descope field expirationTime.

  • expiration_time_unitstring

    Descope field expirationTimeUnit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set enchanted link settingsDESCOPE_SET_ENCHANTED_LINK_SETTINGSAcción

Set enchanted link settings. Set the project's enchanted link settings, using a valid management key.

Parámetros de entrada

  • enabledboolean

    Descope field enabled.

  • redirect_urlstring

    Descope field redirectUrl.

  • expiration_timeinteger

    Descope field expirationTime.

  • text_template_idstring

    Descope field textTemplateId.

  • email_template_idstring

    Active template selection by id. Absent = keep the current selection; "" = reset to the built-in System template; a template id = select that stored template.

  • text_connector_idstring

    Descope field textConnectorId.

  • email_connector_idstring

    Descope field emailConnectorId.

  • expiration_time_unitstring

    Descope field expirationTimeUnit.

  • external_email_template_idstring

    Descope field externalEmailTemplateId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Family SettingsDESCOPE_SET_FAMILY_SETTINGSAcción

Set Family Settings. Set the project's family account settings, using a valid management key.

Parámetros de entrada

  • enabledboolean

    Descope field enabled.

  • max_family_membersinteger

    Descope field maxFamilyMembers.

  • allow_multiple_families_usersboolean

    Descope field allowMultipleFamiliesUsers.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set flowDESCOPE_SET_FLOWAcción

Set flow. Create or update a single flow from its exported representation, remapping any connector and role references to matching entities in the project, using a valid management key.

Parámetros de entrada

  • flow_idstringObligatorio

    Descope field flowId.

  • screensobject[]

    Descope field screens.

  • contentsobjectObligatorio

    Descope field contents.

  • metadataobjectObligatorio

    Used by managementservice snapshots - make sure not to break compatibility

  • referencesobject

    Used by managementservice snapshots - make sure not to break compatibility

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update governance settingsDESCOPE_SET_GOVERNANCE_SETTINGSAcción

Update governance settings. Update the project's Agentic Governance Suite settings, using a valid management key. Only the fields present in the request are changed. Requires the Agentic Governance Suite in the company license, except a request that changes nothing, which succeeds without it.

Parámetros de entrada

  • configuredboolean

    Whether the Agentic Governance Suite has been activated for the project.

  • auto_approvalboolean

    When true, a new access request that the current policies already permit (every requested target is covered by an enabled policy) is approved and its agent client provisioned at creation.

  • suite_disabledboolean

    When true, the suite is switched off: no new access requests can be created and none are auto-approved. Existing requests can still be searched, loaded and resolved.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set magic link settingsDESCOPE_SET_MAGIC_LINK_SETTINGSAcción

Set magic link settings. Set the project's magic link settings, using a valid management key.

Parámetros de entrada

  • enabledboolean

    Descope field enabled.

  • redirect_urlstring

    Descope field redirectUrl.

  • expiration_timeinteger

    Descope field expirationTime.

  • text_template_idstring

    Descope field textTemplateId.

  • email_template_idstring

    Active template selection by id. Absent = keep the current selection; "" = reset to the built-in System template; a template id = select that stored template.

  • text_connector_idstring

    Descope field textConnectorId.

  • email_connector_idstring

    Descope field emailConnectorId.

  • expiration_time_unitstring

    Descope field expirationTimeUnit.

  • external_email_template_idstring

    Descope field externalEmailTemplateId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set OAuth providerDESCOPE_SET_OAUTH_PROVIDERAcción

Set OAuth provider. Create or update a single OAuth provider, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • logostring

    Descope field logo.

  • issuerstring

    Descope field issuer.

  • scopesany

    JSON arrays of strings; Value makes empty and absent distinct: null/absent = keep, [] = clear, values = set. Validated in the service

  • enabledboolean

    Descope field enabled.

  • promptsany

    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.

  • auth_urlstring

    Descope field authUrl.

  • jwks_urlstring

    Descope field jwksUrl.

  • client_idstring

    Descope field clientId.

  • token_urlstring

    Descope field tokenUrl.

  • use_nonceboolean

    Has no effect on the authorization code flow. Set strictOIDCValidation to send and verify a nonce.

  • descriptionstring

    Configuration fields for custom providers; Descope-managed and rejected on system provider writes

  • redirect_urlstring

    Descope field redirectUrl.

  • client_secretstring

    Write-only. Read returns PLACEHOLDER_VALUE when set. PLACEHOLDER_VALUE=keep, ""=clear (rejected when required), value=set

  • user_data_urlstring

    Descope field userDataUrl.

  • sign_algorithmstring

    Algorithm the provider signs its ID tokens with, verified against the keys at jwksUrl. Required when jwksUrl is set, so strictOIDCValidation needs it too. Descope-managed and rejected on system provider writes

  • callback_domainstring

    Descope field callbackDomain.

  • native_client_idstring

    Native (mobile) client credentials

  • use_self_accountboolean

    Whether logins use the caller's own OAuth app credentials rather than Descope's shared app; always true for custom providers

  • allowed_grant_typesany

    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.

  • apple_key_generatorany

    JSON objects with the AppleKeyGenerator fields (keyId, teamId, privateKey); Value makes empty and absent distinct: null/absent = keep, {} = clear, object = set. Only valid for the apple system provider. Validated in the service

  • jit_updates_disabledboolean

    Descope field jitUpdatesDisabled.

  • native_client_secretstring

    Write-only. Read returns PLACEHOLDER_VALUE when set. PLACEHOLDER_VALUE=keep, ""=clear (rejected when required), value=set

  • use_client_assertionboolean

    Descope field useClientAssertion.

  • strict_oidcvalidationboolean

    Sends a nonce on the authorization code flow and requires it in the ID token, and rejects an ID token whose audience is not the client ID. Requires jwksUrl and issuer so the ID token is verified. Native and One Tap logins are not affected

  • trust_provided_emailsboolean

    Descope field trustProvidedEmails.

  • manage_provider_tokensboolean

    Descope field manageProviderTokens.

  • user_data_claims_mappingobject

    Replaced wholesale when present, left untouched when absent

  • auth_url_additional_paramsany

    JSON object of static string parameters added to the authorization request, such as {"acr_values": "AAL3_ANY"} for NHS CIS2 or {"vtr": "[\"P9.Cp.Cd\"]"} for NHS login. Value makes empty and absent distinct: null/absent = keep, {} = clear, object = replace. Validated in the service

  • native_apple_key_generatorany

    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.

  • client_assertion_signing_algstring

    Algorithm signing the private_key_jwt client assertion when useClientAssertion is set. RS256 (default when empty) or RS512; the IdP must be registered with the same algorithm

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set OAuth settingsDESCOPE_SET_OAUTH_SETTINGSAcción

Set OAuth settings. Set the project's general OAuth settings, using a valid management key.

Parámetros de entrada

  • enabledboolean

    Descope field enabled.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set OTP settingsDESCOPE_SET_OTPSETTINGSAcción

Set OTP settings. Set the project's one-time passcode settings, using a valid management key.

Parámetros de entrada

  • domainstring

    Descope field domain.

  • enabledboolean

    Descope field enabled.

  • expiration_timeinteger

    Descope field expirationTime.

  • text_template_idstring

    Descope field textTemplateId.

  • email_template_idstring

    Active template selection by id. Absent = keep the current selection; "" = reset to the built-in System template; a template id = select that stored template.

  • text_connector_idstring

    Descope field textConnectorId.

  • voice_template_idstring

    Descope field voiceTemplateId.

  • email_connector_idstring

    Descope field emailConnectorId.

  • voice_connector_idstring

    Descope field voiceConnectorId.

  • expiration_time_unitstring

    Descope field expirationTimeUnit.

  • external_email_template_idstring

    Descope field externalEmailTemplateId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enable or disable an outbound SCIM configurationDESCOPE_SET_OUTBOUND_SCIMENABLEDAcción

Enable or disable an outbound SCIM configuration. Enable or disable a specific outbound SCIM configuration. Separate from Update because enable/disable is a high-frequency toggle.

Parámetros de entrada

  • app_idstringObligatorio

    Descope field appId.

  • enabledboolean

    Descope field enabled.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set passkey settingsDESCOPE_SET_PASSKEY_SETTINGSAcción

Set passkey settings. Set the project's passkey (WebAuthn) settings, using a valid management key.

Parámetros de entrada

  • namestring

    Descope field name.

  • enabledboolean

    Descope field enabled.

  • relying_party_idstring

    Descope field relyingPartyId.

  • android_fingerprintsany

    JSON array of strings; Value makes empty and absent distinct: null/absent = keep, [] = clear, values = set. Validated in the service

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set password settingsDESCOPE_SET_PASSWORD_SETTINGS_V2Acción

Set password settings. Set the project's password settings, using a valid management key.

Parámetros de entrada

  • lockboolean

    Descope field lock.

  • reuseboolean

    Descope field reuse.

  • numberboolean

    Descope field number.

  • enabledboolean

    Descope field enabled.

  • lowercaseboolean

    Descope field lowercase.

  • temp_lockboolean

    Descope field tempLock.

  • uppercaseboolean

    Descope field uppercase.

  • any_letterboolean

    Descope field anyLetter.

  • expirationboolean

    Descope field expiration.

  • mask_errorboolean

    Descope field maskError.

  • min_lengthinteger

    Descope field minLength.

  • reuse_amountinteger

    Descope field reuseAmount.

  • lock_attemptsinteger

    Descope field lockAttempts.

  • role_policiesany

    Stricter complexity rules for users who hold specific roles, as a JSON array of policy objects. Each policy has a "roleNames" array with the names of project roles, and any of the complexity fields of these settings: "minLength", "lowercase", "uppercase", "number", "nonAlphanumeric", "anyLetter", "disallowedCharacters", "disallowEmailMatch", "enablePasswordStrength" and "passwordStrengthScore". For a user who holds any of the listed roles, at the project level or in one of their tenants, each rule is merged with these settings and the strictest value wins, so a policy can only make the password requirements stricter. The policies apply when a signed-in user sets or changes their own password. Value makes empty and absent distinct: null/absent = keep, [] = clear, values = set. Validated in the service

  • expiration_weeksinteger

    Descope field expirationWeeks.

  • non_alphanumericboolean

    Descope field nonAlphanumeric.

  • email_template_idstring

    Active template selection by id. Absent = keep the current selection; "" = reset to the built-in System template; a template id = select that stored template. Note that the same stored templates serve both the magic link and enchanted link reset flavors.

  • email_connector_idstring

    Descope field emailConnectorId.

  • temp_lock_attemptsinteger

    Descope field tempLockAttempts.

  • temp_lock_durationinteger

    Descope field tempLockDuration.

  • disallow_email_matchboolean

    Descope field disallowEmailMatch.

  • disallowed_charactersstring

    Descope field disallowedCharacters.

  • password_strength_scoreinteger

    Descope field passwordStrengthScore.

  • enable_password_strengthboolean

    Descope field enablePasswordStrength.

  • external_email_template_idstring

    Descope field externalEmailTemplateId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set project settingsDESCOPE_SET_PROJECT_SETTINGSAcción

Set project settings. Update the project's settings, using a valid management key.

Parámetros de entrada

  • app_urlstring

    Descope field appUrl.

  • invite_urlstring

    Descope field inviteUrl.

  • rotate_jwtboolean

    Descope field rotateJwt.

  • custom_domainstring

    Descope field customDomain.

  • inactivity_timeinteger

    Descope field inactivityTime.

  • invite_send_smsboolean

    Descope field inviteSendSms.

  • key_template_idstring

    Descope field keyTemplateId.

  • test_user_regexstring

    Descope field testUserRegex.

  • trusted_domainsstring

    Descope field trustedDomains.

  • user_template_idstring

    Descope field userTemplateId.

  • enable_inactivityboolean

    Descope field enableInactivity.

  • invite_magic_linkboolean

    Descope field inviteMagicLink.

  • invite_send_emailboolean

    Descope field inviteSendEmail.

  • session_migrationobject

    session migration, fully replaced when present (not patched field by field)

  • apps_custom_domainstring

    The custom domain federated and inbound app URLs are built on: the hostname of customDomain or of one of the project's other custom domains. Empty means customDomain.

  • default_no_ssoappsboolean

    Descope field defaultNoSSOApps.

  • invite_expire_userboolean

    Descope field inviteExpireUser.

  • disable_auth_hostingboolean

    Descope field disableAuthHosting.

  • inactivity_time_unitstring

    Descope field inactivityTimeUnit.

  • trusted_proxy_secretstring

    Secret a trusted reverse proxy sends in the x-descope-proxy-secret header, so its forwarded host headers are honored. At least 64 visible ASCII characters, no spaces (e.g. the output of `openssl rand -base64 48`). Write-only: reads return PLACEHOLDER_VALUE when set, "" clears it.

  • tenant_user_isolationboolean

    Descope field tenantUserIsolation.

  • invite_expiration_timeinteger

    Descope field inviteExpirationTime.

  • max_concurrent_sessionsinteger

    Concurrent-session limit (NIST SP 800-53 AC-10). 0 means no limit. The upper bound is configured per deployment and enforced by projectservice, so it is deliberately not repeated here - a hardcoded ceiling would reject values the console accepts. Enforcement applies to sessions created after it is set; pre-existing sessions are untracked.

  • stepup_token_expirationinteger

    Descope field stepupTokenExpiration.

  • invite_email_template_idstring

    Active template selection by id. Absent = keep the current selection; "" = reset to the built-in System template; a template id = select that stored template.

  • refresh_token_expirationinteger

    Descope field refreshTokenExpiration.

  • session_token_expirationinteger

    Descope field sessionTokenExpiration.

  • invite_email_connector_idstring

    Descope field inviteEmailConnectorId.

  • project_self_provisioningboolean

    Descope field projectSelfProvisioning.

  • test_user_allow_fixed_authboolean

    Descope field testUserAllowFixedAuth.

  • test_user_fixed_auth_tokenstring

    Descope field testUserFixedAuthToken.

  • invite_expiration_time_unitstring

    Descope field inviteExpirationTimeUnit.

  • refresh_token_cookie_domainstring

    Descope field refreshTokenCookieDomain.

  • refresh_token_cookie_policystring

    Descope field refreshTokenCookiePolicy.

  • session_token_cookie_domainstring

    Descope field sessionTokenCookieDomain.

  • session_token_cookie_policystring

    Descope field sessionTokenCookiePolicy.

  • key_session_token_expirationinteger

    Descope field keySessionTokenExpiration.

  • stepup_token_expiration_unitstring

    Descope field stepupTokenExpirationUnit.

  • refresh_token_expiration_unitstring

    Descope field refreshTokenExpirationUnit.

  • refresh_token_response_methodstring

    Descope field refreshTokenResponseMethod.

  • session_token_expiration_unitstring

    Descope field sessionTokenExpirationUnit.

  • session_token_response_methodstring

    Descope field sessionTokenResponseMethod.

  • trusted_device_token_expirationinteger

    Descope field trustedDeviceTokenExpiration.

  • key_session_token_expiration_unitstring

    Descope field keySessionTokenExpirationUnit.

  • allow_auth_hosting_iframe_embeddingboolean

    Descope field allowAuthHostingIframeEmbedding.

  • test_user_fixed_auth_verifier_regexstring

    Descope field testUserFixedAuthVerifierRegex.

  • trusted_device_token_expiration_unitstring

    Descope field trustedDeviceTokenExpirationUnit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Scope Claim MappingDESCOPE_SET_SCOPE_CLAIM_MAPPINGAcción

Set Scope Claim Mapping. Replace the project-wide mapping of OIDC scopes to JWT claims. Each value may be a static string or a {{...}} template resolved at token-generation time.

Parámetros de entrada

  • mappingsobject[]

    Ordered list of scope→claims entries replacing the project-wide mapping. Pass an empty list to clear the mapping; the dedicated DeleteScopeClaimMapping RPC is preferred when fully removing the singleton.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set session classificationDESCOPE_SET_SESSION_CLASSIFICATIONAcción

Set session classification. Create or update a session classification (upsert by name), using a valid management key. On a new name the defaults are applied; on an existing one, fields left out keep their stored value.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • versioninteger

    The revision this group was read at. Send it back on an update and the write is rejected with a conflict if someone else changed the group in the meantime. Omit it to update regardless of who wrote last.

  • descriptionstring

    Descope field description.

  • created_timeinteger

    Computed server side: accepted and ignored on write, so a read response can be sent back as an update. Epoch seconds as int32, matching every other createdTime/modifiedTime in this file: protobuf JSON renders a 64-bit integer as a quoted string.

  • modified_timeinteger

    Descope field modifiedTime.

  • access_all_tenantsboolean

    Members may access every tenant in the project regardless of their explicit assignments

  • max_concurrent_sessionsinteger

    Overrides the project-wide limit for members, in both directions. 0 means UNLIMITED: it lifts the project cap for members rather than inheriting it.

  • session_time_limit_rulestringenum

    How a member's session time limit is decided. SESSION_TIME_LIMIT_RULE_UNSPECIFIED (0, the default) means the group does not override it, so members are treated like a user with no group at all. SESSION_TIME_LIMIT_RULE_MIN_OF_TENANTS (1) uses the shortest limit among all the tenants the user belongs to. SESSION_TIME_LIMIT_RULE_PROJECT_SETTINGS (2) inherits the project-wide session time limit. SESSION_TIME_LIMIT_RULE_CURRENT_TENANT (3) follows the limit of the tenant the session is currently in, so it changes with the tenant context rather than being fixed at sign-in.

    SESSION_TIME_LIMIT_RULE_UNSPECIFIEDSESSION_TIME_LIMIT_RULE_MIN_OF_TENANTSSESSION_TIME_LIMIT_RULE_PROJECT_SETTINGSSESSION_TIME_LIMIT_RULE_CURRENT_TENANT

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set SSO settingsDESCOPE_SET_SSOSETTINGSAcción

Set SSO settings. Set the project's SSO settings, using a valid management key.

Parámetros de entrada

  • enabledboolean

    Descope field enabled.

  • merge_usersboolean

    Descope field mergeUsers.

  • redirect_urlstring

    Descope field redirectUrl.

  • email_template_idstring

    Active template selection by id. Absent = keep the current selection; "" = reset to the built-in System template; a template id = select that stored template.

  • email_connector_idstring

    Descope field emailConnectorId.

  • hide_sso_suite_ssoboolean

    Descope field hideSsoSuiteSso.

  • show_sso_suite_xaaboolean

    Descope field showSsoSuiteXaa.

  • sso_suite_style_idstring

    Descope field ssoSuiteStyleId.

  • hide_sso_suite_oidcboolean

    Descope field hideSsoSuiteOidc.

  • hide_sso_suite_samlboolean

    Descope field hideSsoSuiteSaml.

  • hide_sso_suite_scimboolean

    Descope field hideSsoSuiteScim.

  • allow_override_rolesboolean

    Descope field allowOverrideRoles.

  • hide_sso_suite_auditboolean

    Hides the audit log page of the SSO Setup Suite, which lists a tenant's recent SSO login and SCIM events for the SSO configuration being set up. Default false (the page is shown). A tenant with tenant-level suite settings uses its own ssoSetupSuiteSettings.disabledFeatures.audit instead.

  • group_priority_enabledboolean

    Descope field groupPriorityEnabled.

  • hide_sso_suite_domainsboolean

    Descope field hideSsoSuiteDomains.

  • sso_suite_login_flow_idstring

    Descope field ssoSuiteLoginFlowId.

  • sso_suite_support_emailstring

    Descope field ssoSuiteSupportEmail.

  • hide_sso_suite_jit_guideboolean

    Descope field hideSsoSuiteJitGuide.

  • mark_email_as_unverifiedboolean

    Descope field markEmailAsUnverified.

  • mandatory_user_attributesany

    JSON array of strings; Value makes empty and absent distinct: null/absent = keep, [] = clear, values = set. Validated in the service

  • external_email_template_idstring

    Descope field externalEmailTemplateId.

  • hide_sso_suite_fga_mappingboolean

    Descope field hideSsoSuiteFgaMapping.

  • hide_sso_suite_role_mappingboolean

    Descope field hideSsoSuiteRoleMapping.

  • sso_suite_show_help_contactboolean

    Descope field ssoSuiteShowHelpContact.

  • hide_sso_suite_groups_mappingboolean

    Descope field hideSsoSuiteGroupsMapping.

  • sso_suite_login_flow_style_idstring

    Descope field ssoSuiteLoginFlowStyleId.

  • block_if_email_domain_mismatchboolean

    Descope field blockIfEmailDomainMismatch.

  • sso_suite_force_domain_verificationboolean

    Descope field ssoSuiteForceDomainVerification.

  • limit_mapping_to_mandatory_attributesboolean

    Descope field limitMappingToMandatoryAttributes.

  • oidc_login_id_mapping_default_overridestring

    Descope field oidcLoginIdMappingDefaultOverride.

  • allow_merge_users_with_multiple_tenantsboolean

    Descope field allowMergeUsersWithMultipleTenants.

  • allow_duplicate_ssodomains_in_other_tenantsboolean

    Descope field allowDuplicateSSODomainsInOtherTenants.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set tenant attributeDESCOPE_SET_TENANT_ATTRIBUTEAcción

Set tenant attribute. Create or update a single tenant custom attribute definition (upsert by machine name), using a valid management key. Tenant attributes do not support edit permissions.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • typestringObligatorio

    Descope field type.

  • optionsany

    JSON arrays of strings; Value makes empty and absent distinct: null/absent = keep, [] = clear, values = set. Validated in the service

  • display_namestringObligatorio

    Descope field displayName.

  • edit_permissionsany

    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.

  • view_permissionsany

    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.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set tenant auth access policy settingsDESCOPE_SET_TENANT_AUTH_ACCESS_SETTINGSAcción

Set tenant auth access policy settings. Update the tenant-level auth access policy settings. ruleIds sets the full evaluation order and must list every rule exactly once. Fields that are not sent keep their stored values, using a valid management key.

Parámetros de entrada

  • rule_idsany

    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.

  • tenant_idstringObligatorio

    Descope tenantId parameter.

  • default_actionstring

    Descope field defaultAction.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set OTP Settings for a tenantDESCOPE_SET_TENANT_OTPSETTINGSAcción

Set OTP Settings for a tenant. Set OTP Settings for a tenant, using a valid management key.

Parámetros de entrada

  • enabledboolean

    Descope field enabled.

  • tenant_idstringObligatorio

    Descope tenantId parameter.

  • expiration_timeinteger

    Descope field expirationTime.

  • rate_limit_retriesinteger

    Descope field rateLimitRetries.

  • expiration_time_unitstring

    Descope field expirationTimeUnit.

  • rate_limit_timeframeinteger

    Descope field rateLimitTimeframe.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Tenant ThemeDESCOPE_SET_TENANT_THEMEAcción

Set Tenant Theme. Create or replace the styles a tenant overrides the project theme with, using a valid management key. The styles document replaces the tenant's stored one whole, and the stored theme is returned. A logo must be given as a base64 data URI; it is published to this tenant's own CDN object and never overwrites the project's or another tenant's.

Parámetros de entrada

  • stylesobjectObligatorio

    The tenant's styles, in the same shape the project theme export and import use: an object keyed by style flavor, such as "light" and "dark" for the default style and "<styleId>-light" and "<styleId>-dark" for a named one. Every flavor must be an object. The document replaces the tenant's stored styles whole. A logo must be supplied as a base64 data URI, the same way the project theme import takes it. It is uploaded to this tenant's own CDN object, and a read hands it back as a data URI again, so a response can be sent back as a request unchanged. A logo given as a url is rejected, because a url points at an object this tenant does not own.

  • tenant_idstringObligatorio

    Descope tenantId parameter.

  • components_versionstring

    Read-only: the flow-components bundle version the tenant's styles render against, resolved from the project. Accepted and ignored on write, so a response can be sent back unchanged.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set TOTP settingsDESCOPE_SET_TOTPSETTINGSAcción

Set TOTP settings. Set the project's TOTP settings, using a valid management key.

Parámetros de entrada

  • enabledboolean

    Descope field enabled.

  • account_name_templatestring

    Account name shown in the authenticator app, e.g. {{user.email}} or {{user.customAttributes.employeeId}}. Supports {{user.email}}, {{user.phone}}, {{user.name}}, {{user.loginId}}, {{user.customAttributes.<name>}}, {{tenant.name}} and {{tenant.id}}. When empty, or when it renders empty for a user, the login ID is used.

  • issuer_label_templatestring

    Issuer label shown in the authenticator app, e.g. {{projectName}} or {{tenant.name}}. Supports {{projectName}}, {{tenantName}}, {{tenant.name}} and {{tenant.id}}. When empty, the project name is used.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Active Password for UserDESCOPE_SET_USER_ACTIVE_PASSWORDAcción

Set Active Password for User. ### Set an active password for an existing user, using a valid management key. This API endpoint allows you to set an active password for an existing user. This will allow the user to authenticate with this password without changing it. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Manage Tenants](/management/tenant-management) for further details on managing tenants.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • passwordstring

    Descope field password.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set user attributeDESCOPE_SET_USER_ATTRIBUTEAcción

Set user attribute. Create or update a single user custom attribute definition (upsert by machine name), using a valid management key.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

  • typestringObligatorio

    Descope field type.

  • optionsany

    JSON arrays of strings; Value makes empty and absent distinct: null/absent = keep, [] = clear, values = set. Validated in the service

  • display_namestringObligatorio

    Descope field displayName.

  • edit_permissionsany

    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.

  • view_permissionsany

    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.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Temporary Password for UserDESCOPE_SET_USER_TEMPORARY_PASSWORDAcción

Set Temporary Password for User. ### Set a temporary password for an existing user, using a valid management key. This API endpoint allows you to set a temporary password for an existing user. This will require the user to change their password on next authentication. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Manage Tenants](/management/tenant-management) for further details on managing tenants.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • passwordstring

    Descope field password.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update well-known settingsDESCOPE_SET_WELL_KNOWN_SETTINGSAcción

Update well-known settings. Update the project's customization of its OIDC discovery documents, using a valid management key. Only the fields present in the request are changed.

Parámetros de entrada

  • enabledboolean

    Applies the customization to the served documents. Off by default: the customization is kept and the default documents are served.

  • hidden_fieldsany

    Array of field names to omit from the documents. Hideable fields: backchannel_authentication_endpoint, pushed_authorization_request_endpoint, request_parameter_supported, registration_endpoint, end_session_endpoint, introspection_endpoint, device_authorization_endpoint, revocation_endpoint, userinfo_endpoint, backchannel_logout_supported.

  • removed_valuesany

    Array of objects naming a list field and the values to remove from it, such as [{"field": "grant_types_supported", "values": ["client_credentials"]}]. Returned sorted by field. A list is never emptied: removing every value keeps the full list.

  • claims_supportedobject

    Claims added to or excluded from claims_supported.

  • scopes_supportedobject

    Scopes added to or excluded from scopes_supported.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set widgetDESCOPE_SET_WIDGETAcción

Set widget. Create or update a single widget and its embedded flows from the exported representation, remapping any connector and role references to matching entities in the project, using a valid management key.

Parámetros de entrada

  • flowsobject[]

    Descope field flows.

  • screensobject[]

    Descope field screens.

  • metadataobjectObligatorio

    Descope field metadata.

  • widget_idstringObligatorio

    Descope field widgetId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SSO application custom attribute definitionsDESCOPE_SSOAPPLICATION_CUSTOM_ATTRIBUTESAcción

Get SSO application custom attribute definitions. Get SSO application custom attribute definitions, using a valid management key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Stop Family ImpersonationDESCOPE_STOP_FAMILY_IMPERSONATIONAcción

Stop Family Impersonation. Stop impersonating a family dependent and return to the acting admin's own session

Parámetros de entrada

  • jwtstringObligatorio

    Descope field jwt.

  • custom_claimsobject

    Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.

  • refresh_durationinteger

    Descope field refreshDuration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Stop ImpersonationDESCOPE_STOP_IMPERSONATIONAcción

Stop Impersonation. Stop impersonation as a different user

Parámetros de entrada

  • jwtstringObligatorio

    Descope field jwt.

  • custom_claimsobject

    Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.

  • selected_tenantstring

    Descope field selectedTenant.

  • refresh_durationinteger

    Descope field refreshDuration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load a list of defined relations for the given list of targetsDESCOPE_TARGETS_RELATIONSAcción

Load a list of defined relations for the given list of targets. Load a list of defined relations for the given list of targets without recursively traversing the relation tree.

Parámetros de entrada

  • targetsstring[]

    Descope field targets.

  • include_target_set_relationsboolean

    Descope field includeTargetSetRelations.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Access KeyDESCOPE_UPDATE_ACCESS_KEYAcción

Update Access Key. ### Update an existing access key, using a valid management key. This API endpoint allows administrators to update an existing access key. With this endpoint, you can only update the access key's name. ### See also - See [Access Key Management](/access-keys) for further details on managing access keys.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • namestringObligatorio

    Descope field name.

  • role_namesany

    we want to differentiate between empty and nil so we use google.protobuf.Value

  • descriptionstring

    Descope field description.

  • key_tenantsany

    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.

  • custom_claimsobject

    Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.

  • permitted_ipsany

    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.

  • custom_attributesobject

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

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update auth access policy ruleDESCOPE_UPDATE_AUTH_ACCESS_RULEAcción

Update auth access policy rule. Update a project-level auth access policy rule. Fields that are not sent keep their stored values, using a valid management key.

Parámetros de entrada

  • idstring

    Server-generated, rejected on create and required on update.

  • namestring

    Descope field name.

  • effectstring

    Required on create. Evaluation is first-match.

  • enabledboolean

    Defaults to true on create.

  • conditionsany

    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.

  • descriptionstring

    Descope field description.

  • expire_timeinteger

    Epoch seconds after which the rule is no longer evaluated. 0 means never.

  • created_timeinteger

    int32 epoch seconds: proto3 emits int64 as JSON string. See .claude/rules/proto-files.md.

  • modified_timeinteger

    Descope field modifiedTime.

  • evaluation_orderinteger

    1-based position in the evaluation order, set through the reorder and settings endpoints.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update connectorDESCOPE_UPDATE_CONNECTORAcción

Update connector. Update a single connector, using a valid management key. This is a full replace, not a patch: get the connector first with GetConnector and send every field back with your changes, including `name`, `description` and the full `configuration`. Send `PLACEHOLDER_VALUE` to keep a stored secret; an omitted key is cleared, or reset to its default when it has one, and omitting a required secret fails validation. The `type` cannot change. The configuration is checked and filled as on create, except for messaging providers (ids starting with `MP`).

Parámetros de entrada

  • idstring

    The connector id, assigned by the server on create and required on update.

  • namestringObligatorio

    The connector's display name.

  • typestringObligatorio

    The connector template id, such as `http`, which cannot change after create. LoadAllConnectorTemplates lists the available templates.

  • statusstring

    Either `enabled` or `disabled`, defaults to `enabled` on create. A disabled connector is not run by flows or automatic triggers; audit streaming ignores `status` and follows the template's `auditEnabled` configuration field if it has one, and is otherwise always on. While its secrets are placeholders, create a connector `disabled`, also set `auditEnabled: false` on an audit connector whose template has that field, and enable it once the real values are in.

  • descriptionstring

    A free text description of the connector.

  • configurationobject

    The template's configuration fields by name, as GetConnectorTemplate describes them. Checked against the template on create and update, with missing defaults filled in; not checked for messaging providers, which have no template. Secret values are returned as `PLACEHOLDER_VALUE`, and sending that value back keeps the stored secret.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update DescoperDESCOPE_UPDATE_DESCOPERAcción

Update Descoper. Update a descoper

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • rbacobject

    Descope field rbac.

  • attributesobject

    updateable fields (optional! updating attributes has additional constraints)

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update dynamic registration templateDESCOPE_UPDATE_DYNAMIC_REGISTRATION_TEMPLATEAcción

Update dynamic registration template. Update an existing dynamic registration template, using a valid management key.

Parámetros de entrada

  • templateobjectObligatorio

    DynamicRegistrationTemplate CRUD messages

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update engineDESCOPE_UPDATE_ENGINEAcción

Update engine. Update an existing engine, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • namestringObligatorio

    Descope field name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update FamilyDESCOPE_UPDATE_FAMILYAcción

Update Family. Update a family's name, custom attributes, photo, or disabled state, using a valid management key. Omitted fields are left unchanged.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • namestring

    Descope field name.

  • photostring

    Descope field photo.

  • disabledboolean

    Descope field disabled.

  • custom_attributesobject

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

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update JWTDESCOPE_UPDATE_JWTAcción

Update JWT. ### Updates a JWT with custom claims, using a valid management key. This API endpoint will update a JWT with custom claims. This endpoint takes the JWT as well as the `customClaims` json.

Parámetros de entrada

  • jwtstringObligatorio

    Descope field jwt.

  • custom_claimsobject

    Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.

  • refresh_durationinteger

    Descope field refreshDuration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update JWT TemplateDESCOPE_UPDATE_JWT_TEMPLATEAcción

Update JWT Template. Update an existing JWT template by id. Same strict validation as CreateJwtTemplate runs first; on failure the existing template is unchanged.

Parámetros de entrada

  • templateobjectObligatorio

    Descope field template.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ListDESCOPE_UPDATE_LISTAcción

Update List. Update an existing list

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • dataany

    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.

  • namestring

    Descope field name.

  • typestring

    Descope field type.

  • descriptionstring

    Descope field description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Management KeyDESCOPE_UPDATE_MANAGEMENT_KEYAcción

Update Management Key. Update a management key using another management key. All supported fields will be reset if not provided, except reBac, which keeps the key's current roles when omitted.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • namestringObligatorio

    Descope field name.

  • re_bacobject

    Replaces the key's roles without rotating its secret. Unlike the other fields, leaving it unset keeps the current roles. The calling key's permission to manage management keys lets it grant any role, company full access included, but a key cannot change its own roles.

  • statusstringObligatorio

    Descope field status.

  • descriptionstringObligatorio

    Descope field description.

  • permitted_ipsstring[]

    Descope field permittedIps.

  • trusted_issuerobject

    Descope field trustedIssuer.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update MCP Server ClientDESCOPE_UPDATE_MCP_SERVER_CLIENTAcción

Update MCP Server Client. Update an MCP Server Client, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • logostring

    Descope field logo.

  • namestring

    Descope field name.

  • tagsstring[]

    Descope field tags.

  • scopesstring[]

    Descope field scopes.

  • mcp_server_idstringObligatorio

    Descope field mcpServerId.

  • allowed_tenantsstring[]

    Descope field allowedTenants.

  • approved_callback_urlsstring[]

    Descope field approvedCallbackUrls.

  • force_add_all_authorization_infoboolean

    Descope field forceAddAllAuthorizationInfo.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update templateDESCOPE_UPDATE_MESSAGING_TEMPLATEAcción

Update template. Update a single message template by type, method and id, using a valid management key.

Parámetros de entrada

  • idstring

    Descope field id.

  • bodystring

    Descope field body.

  • namestringObligatorio

    Descope field name.

  • typestringObligatorio

    Descope field type.

  • methodstringObligatorio

    Descope field method.

  • subjectstring

    The fields below apply to email templates only: requests that carry them for other template types are rejected, and responses omit them. Like the fields above they're written as given on updates, so an omitted field is cleared rather than preserved.

  • body_plain_textstring

    Descope field bodyPlainText.

  • use_body_plain_textboolean

    Descope field useBodyPlainText.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Outbound AppDESCOPE_UPDATE_OUTBOUND_APPAcción

Update Outbound App. ### Update outbound application This endpoint allows you to update an existing outbound application.

Parámetros de entrada

  • appobjectObligatorio

    Descope field app.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update outbound SCIM configurationDESCOPE_UPDATE_OUTBOUND_SCIMCONFIGURATIONAcción

Update outbound SCIM configuration. Update an existing outbound SCIM configuration, using a valid management key.

Parámetros de entrada

  • app_idstringObligatorio

    Descope field appId.

  • versionstring

    Descope field version.

  • configurationobject

    Descope field configuration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update PermissionDESCOPE_UPDATE_PERMISSIONAcción

Update Permission. ### Update a permission, using a valid management key. This API endpoint allows administrators to update an existing permission. The endpoint takes the following two parameters: - name (required) - description (optional - though if not provided, it will be removed from the permission) ### Next Steps Once you have this data, you can utilize the newly created role to [Create Roles](/api/management/roles/create-role) or [Update Roles](/api/management/roles/update-role) ### See also - See [User Authorization](/manage/roles/) for further details on managing roles and permissions.

Parámetros de entrada

  • idstring

    Descope field id.

  • namestring

    Either name or id must be provided (not both). The identified permission will be updated.

  • new_namestringObligatorio

    Descope field newName.

  • descriptionstring

    Descope field description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Bulk Update PermissionsDESCOPE_UPDATE_PERMISSIONSAcción

Bulk Update Permissions. Bulk update Permissions, using a valid management key.

Parámetros de entrada

  • permissionsobject[]

    Descope field permissions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update policy ruleDESCOPE_UPDATE_POLICY_RULEAcción

Update policy rule. Replace an existing policy rule row matched by id.

Parámetros de entrada

  • policy_ruleobject

    Descope field policyRule.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update policy rule settingsDESCOPE_UPDATE_POLICY_RULE_SETTINGSAcción

Update policy rule settings. Update the project-level policy rule settings. defaultAction is allow or block; the choice is one-way and cannot be reset to the unconfigured state.

Parámetros de entrada

  • settingsobjectObligatorio

    defaultAction decides the verdict when rules target the resource but none matches. An unconfigured project reports the empty value; updates must pick allow or block — the choice is one-way and cannot return to unset.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ProjectDESCOPE_UPDATE_PROJECTAcción

Update Project. Update the project's name, environment or tags, leaving any fields that aren't set in the request unchanged, using a valid management key.

Parámetros de entrada

  • namestring

    Descope field name.

  • tagsany

    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.

  • environmentstring

    Descope field environment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rename ProjectDESCOPE_UPDATE_PROJECT_NAMEAcción

Rename Project. ### Rename a project utilizing a management key. This endpoint allows you to update the name of a project. The body only requires the `name` argument. ### See Also - See [Managing Environments](/customize/environments/) for details about managing environments.

Parámetros de entrada

  • namestringObligatorio

    Descope field name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Project TagsDESCOPE_UPDATE_PROJECT_TAGSAcción

Update Project Tags. ### Update project tags utilizing a management key. This endpoint allows you to update the tags associated with a project. ### See Also - See [Managing Environments](/customize/environments/) for details about managing environments.

Parámetros de entrada

  • tagsstring[]

    Descope field tags.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update resourceDESCOPE_UPDATE_RESOURCEAcción

Update resource. Update a resource, using a valid management key. The request replaces the whole resource: load it, change the fields, and send it back with its version unchanged. The type and uri cannot be changed. A stale version fails with Resource not found (E074805), so reload the resource and retry. On a resource managed by an agent gateway (tagged gateway), the connection scopes come from the gateway routes and only their optional flag can be changed. On an MCP server (type mcp), dynamicRegistrationSettings.issuerType and dynamicRegistrationSettings.overrideProjectSettings keep their stored values when omitted.

Parámetros de entrada

  • resourceobjectObligatorio

    Resource CRUD messages

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update RoleDESCOPE_UPDATE_ROLEAcción

Replace one role identified by name or ID. Send its complete new name, description, permission list, default flag, and private flag because Descope clears omitted replacement values. An empty permission_names list removes all permissions.

Parámetros de entrada

  • namestring

    Current role name. Provide exactly one of name or role_id.

  • defaultbooleanObligatorio

    Complete replacement default-role flag.

  • privatebooleanObligatorio

    Complete replacement private-role flag.

  • role_idstring

    Current role ID. Provide exactly one of role_id or name.

  • new_namestringObligatorio

    New role name.

  • tenant_idstring

    Tenant ID for a tenant-scoped role.

  • descriptionstringObligatorio

    Complete replacement role description; use an empty string to clear it.

  • permission_namesstring[]Obligatorio

    Complete replacement permission-name list; an empty list removes all permissions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Bulk Update RolesDESCOPE_UPDATE_ROLESAcción

Bulk Update Roles. Bulk update Roles, using a valid management key.

Parámetros de entrada

  • rolesobject[]

    Descope field roles.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update SSO application permissionDESCOPE_UPDATE_SSOAPPLICATION_PERMISSIONAcción

Update SSO application permission. Update an SSO application permission by application id and permission id, using a valid management key.

Parámetros de entrada

  • idstring

    Descope field id.

  • namestringObligatorio

    Descope field name.

  • app_idstringObligatorio

    Descope field appId.

  • descriptionstring

    Descope field description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update SSO application roleDESCOPE_UPDATE_SSOAPPLICATION_ROLEAcción

Update SSO application role. Update an SSO application role by application id and role id, using a valid management key. The full role is replaced with the given values, including permissionIds and roleMappings.

Parámetros de entrada

  • idstring

    Descope field id.

  • namestringObligatorio

    Descope field name.

  • app_idstringObligatorio

    Descope field appId.

  • descriptionstring

    Descope field description.

  • role_mappingsstring[]

    Descope field roleMappings.

  • permission_idsstring[]

    Descope field permissionIds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update OIDC ApplicationDESCOPE_UPDATE_SSOOIDCAPPLICATIONAcción

Update OIDC Application. ### Update OIDC Application within a project This endpoint updates an OIDC Application within your Descope project. ### See Also - Review our [documentation](/manage/idpapplications/) around Applications within Descope.

Parámetros de entrada

  • idstring

    Descope field id.

  • logostring

    Descope field logo.

  • namestringObligatorio

    Descope field name.

  • claimsstring[]

    Descope field claims.

  • enabledboolean

    Descope field enabled.

  • client_idstring

    Optional: import an existing OIDC client. Both are accepted on create only (immutable afterward); empty means the client_id is computed and the client_secret is generated server-side. The client_id must be unique within the project. The client_secret is returned once on the create response.

  • dark_logostring

    Descope field darkLogo.

  • force_pkceboolean

    Descope field forcePkce.

  • client_typestring

    How the app authenticates as an OAuth client. 'confidential': a dedicated client ID and client secret, for server-side apps. 'public': a dedicated client ID and PKCE with no secret, for native, mobile and single-page apps. These apps normally use the project-level issuer and discovery endpoints. On create, an empty clientType means the legacy Access Key type (the project ID is the client ID, and the issuer and discovery endpoints are per app); accounts that can't use the legacy type get 'confidential' instead. On update, an empty clientType keeps the app's current type.

  • descriptionstring

    Descope field description.

  • client_secretstring

    Descope field clientSecret.

  • login_page_urlstring

    Descope field loginPageUrl.

  • trusted_app_idsstring[]

    trustedAppIds lists sibling SSO apps whose roles are included in this app's JWT under the `trustedApps` claim at login time. Apps where the user has no roles are silently omitted.

  • default_audiencestring

    Default audience policy for issued tokens. Applies only to modern apps (non-empty clientType): 'projectId', 'clientId', 'appId', empty (both), or 'empty' (no aud at all). Legacy apps are unaffected. Mirrors third-party apps.

  • session_settingsobject

    Descope field sessionSettings.

  • assigned_role_idsstring[]

    assignedRoleIds lists project-level roles that grant access to this application. A user holding any of them can access it, in addition to users assigned directly or through their tenant. Additive: it never removes access, so it only changes the outcome for projects that deny applications by default. Tenant scoped roles are rejected.

  • custom_attributesobject

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

  • jwt_bearer_disabledboolean

    Descope field jwtBearerDisabled.

  • jwt_bearer_settingsobject

    Descope field jwtBearerSettings.

  • device_code_disabledboolean

    Descope field deviceCodeDisabled.

  • force_authenticationboolean

    Descope field forceAuthentication.

  • service_account_rolesobject[]

    serviceAccountRoles assigns this app (when client_credentials is enabled) application-roles in its trusted apps; surfaced in its client_credentials token under the `app.trustedApps` claim.

  • trusted_apps_audiencestring

    Audience policy applied to trusted sibling apps' identifiers when appended to the issued token's `aud` (see trustedAppIds). Same value set as defaultAudience: 'projectId' / 'clientId' / 'appId' / empty (=both) / 'empty' (add none). Independent of defaultAudience.

  • approved_redirect_urlsstring[]

    Descope field approvedRedirectUrls.

  • refresh_token_disabledboolean

    Descope field refreshTokenDisabled.

  • back_channel_logout_urlstring

    Descope field backChannelLogoutUrl.

  • mtls_client_auth_methodsobject

    Descope field mtlsClientAuthMethods.

  • well_known_customizationobject

    Descope field wellKnownCustomization.

  • authorization_code_disabledboolean

    Descope field authorizationCodeDisabled.

  • client_credentials_disabledboolean

    Descope field clientCredentialsDisabled.

  • custom_idp_initiated_login_page_urlstring

    Descope field customIdpInitiatedLoginPageUrl.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update SSO Provider IDsDESCOPE_UPDATE_SSOPROVIDER_IDSAcción

Update SSO Provider IDs. Update SSO provider IDs and SCIM provider IDs for tenant SSO settings. This endpoint is not publicly documented.

Parámetros de entrada

  • sso_idstring

    Descope field ssoId.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • xaa_provider_idstring

    Descope field xaaProviderId.

  • oidc_provider_idstring

    Descope field oidcProviderId.

  • saml_provider_idstring

    Descope field samlProviderId.

  • oidc_scim_provider_idstring

    Descope field oidcScimProviderId.

  • saml_scim_provider_idstring

    Descope field samlScimProviderId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update SAML ApplicationDESCOPE_UPDATE_SSOSAMLAPPLICATIONAcción

Update SAML Application. ### Update SAML Application within a project This endpoint updates a SAML Application within your Descope project. ### See Also - Review our [documentation](/manage/idpapplications/) around Applications within Descope.

Parámetros de entrada

  • idstring

    Descope field id.

  • logostring

    Descope field logo.

  • namestringObligatorio

    Descope field name.

  • acs_urlstring

    Descope field acsUrl.

  • enabledboolean

    Descope field enabled.

  • dark_logostring

    Descope field darkLogo.

  • entity_idstring

    Descope field entityId.

  • certificatestring

    Descope field certificate.

  • descriptionstring

    Descope field description.

  • metadata_urlstring

    Descope field metadataUrl.

  • groups_mappingobject[]

    Descope field groupsMapping.

  • login_page_urlstring

    Descope field loginPageUrl.

  • assigned_role_idsstring[]

    assignedRoleIds lists project-level roles that grant access to this application. A user holding any of them can access it, in addition to users assigned directly or through their tenant. Additive: it never removes access, so it only changes the outcome for projects that deny applications by default. Tenant scoped roles are rejected.

  • attribute_mappingobject[]

    Descope field attributeMapping.

  • custom_attributesobject

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

  • use_metadata_infoboolean

    Descope field useMetadataInfo.

  • error_redirect_urlstring

    Descope field errorRedirectUrl.

  • default_relay_statestring

    Descope field defaultRelayState.

  • logout_redirect_urlstring

    Descope field logoutRedirectUrl.

  • force_authenticationboolean

    Descope field forceAuthentication.

  • subject_name_id_typestring

    Descope field subjectNameIdType.

  • acs_allowed_callbacksstring[]

    Descope field acsAllowedCallbacks.

  • subject_name_id_formatstring

    Descope field subjectNameIdFormat.

  • default_signature_algorithmstring

    Descope field defaultSignatureAlgorithm.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update SSO WS-Fed IDP applicationDESCOPE_UPDATE_SSOWSFED_APPLICATIONAcción

Update SSO WS-Fed IDP application. Update a SSO WS-Fed IDP application, using a valid management key.

Parámetros de entrada

  • idstring

    Descope field id.

  • logostring

    Descope field logo.

  • namestringObligatorio

    Descope field name.

  • realmstring

    Descope field realm.

  • enabledboolean

    Descope field enabled.

  • dark_logostring

    Descope field darkLogo.

  • reply_urlstring

    Descope field replyUrl.

  • descriptionstring

    Descope field description.

  • groups_mappingobject[]

    Descope field groupsMapping.

  • login_page_urlstring

    Descope field loginPageUrl.

  • assigned_role_idsstring[]

    assignedRoleIds lists project-level roles that grant access to this application. A user holding any of them can access it, in addition to users assigned directly or through their tenant. Additive: it never removes access, so it only changes the outcome for projects that deny applications by default. Tenant scoped roles are rejected.

  • attribute_mappingobject[]

    Descope field attributeMapping.

  • custom_attributesobject

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

  • error_redirect_urlstring

    Descope field errorRedirectUrl.

  • logout_redirect_urlstring

    Descope field logoutRedirectUrl.

  • force_authenticationboolean

    Descope field forceAuthentication.

  • reply_allowed_callbacksstring[]

    Descope field replyAllowedCallbacks.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update TenantDESCOPE_UPDATE_TENANTAcción

Patch selected fields of one tenant while leaving omitted fields unchanged.

Parámetros de entrada

  • namestring

    New tenant name; omit to preserve it.

  • disabledboolean

    Set whether login to this tenant is disabled.

  • auth_typestring

    Deprecated provider field; prefer tenant settings for auth type.

  • tenant_idstringObligatorio

    ID of the tenant to patch.

  • enforce_ssoboolean

    Set whether this tenant requires SSO login.

  • approved_domainsstring[]

    Replacement vanity hostname list; Descope currently supports one item.

  • role_inheritancestringenum

    New role inheritance behavior: an empty string, none, or userOnly.

    noneuserOnly
  • custom_attributesobject

    Replacement custom-attribute values; omit to preserve them.

  • federated_app_idsstring[]

    Replacement federated application ID list; an empty list clears it.

  • enforce_sso_exclusionsstring[]

    Replacement user-ID exemptions from SSO enforcement; an empty list clears them.

  • self_provisioning_domainsstring[]

    Replacement self-provisioning domain list; omit to preserve it.

  • enforce_sso_exclusion_permissionsstring[]

    Replacement break-glass permission list; an empty list clears it.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update tenant auth access policy ruleDESCOPE_UPDATE_TENANT_AUTH_ACCESS_RULEAcción

Update tenant auth access policy rule. Update a tenant-level auth access policy rule. Fields that are not sent keep their stored values, using a valid management key.

Parámetros de entrada

  • idstring

    Server-generated, rejected on create and required on update.

  • namestring

    Descope field name.

  • effectstring

    Required on create. Evaluation is first-match.

  • enabledboolean

    Defaults to true on create.

  • tenant_idstringObligatorio

    Descope tenantId parameter.

  • conditionsany

    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.

  • descriptionstring

    Descope field description.

  • expire_timeinteger

    Epoch seconds after which the rule is no longer evaluated. 0 means never.

  • created_timeinteger

    int32 epoch seconds: proto3 emits int64 as JSON string. See .claude/rules/proto-files.md.

  • modified_timeinteger

    Descope field modifiedTime.

  • evaluation_orderinteger

    1-based position in the evaluation order, set through the reorder and settings endpoints.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Tenant Default RolesDESCOPE_UPDATE_TENANT_DEFAULT_ROLESAcción

Update Tenant Default Roles. Update tenant default roles, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • default_rolesstring[]

    Descope field defaultRoles.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Tenants BatchDESCOPE_UPDATE_TENANTS_BATCHAcción

Update Tenants Batch. Update multiple tenants in a single batch, using a valid management key. Each tenant is updated independently; per-tenant failures are returned in the response body.

Parámetros de entrada

  • tenantsobject[]Obligatorio

    Descope field tenants.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update third party applicationDESCOPE_UPDATE_THIRD_PARTY_APPLICATIONAcción

Update third party application. Update a third party application, using a valid management key.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • logostring

    Descope field logo.

  • namestringObligatorio

    Descope field name.

  • logo_urlstring

    Descope field logoUrl.

  • force_parboolean

    Descope field forcePar.

  • force_dpopboolean

    Descope field forceDpop.

  • force_mtlsboolean

    Descope field forceMtls.

  • force_pkceboolean

    Descope field forcePkce.

  • client_typestring

    Descope field clientType.

  • descriptionstring

    Descope field description.

  • ciba_enabledboolean

    cibaEnabled allows the CIBA grant (urn:openid:params:grant-type:ciba) for this app and requires cibaSettings. Default false. A public client cannot use this grant.

  • jar_settingsobject

    JAR (JWT-Secured Authorization Request, RFC 9101) settings for Third Party Applications

  • rar_settingsobject

    Descope field rarSettings.

  • ciba_settingsobject

    Descope field cibaSettings.

  • login_page_urlstringObligatorio

    Descope field loginPageUrl.

  • allowed_tenantsstring[]

    Descope field allowedTenants.

  • default_audiencestring

    Descope field defaultAudience.

  • session_settingsobject

    Descope field sessionSettings.

  • attributes_scopesobject[]

    Descope field attributesScopes.

  • client_assertionsobject[]

    clientAssertions are the private_key_jwt trust entries (JWKS URL or PEM public key per entry).

  • custom_attributesobject

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

  • audience_whiteliststring[]

    Descope field audienceWhitelist.

  • client_auth_methodstring

    clientAuthMethod: "clientSecret" (default when empty), "privateKeyJwt" (only clientAssertions are accepted), "workloadIdentity" (only workloadClientAssertions are accepted) or "mtls" (only a registered mTLS certificate is accepted).

  • connections_scopesobject[]

    Descope field connectionsScopes.

  • permissions_scopesobject[]

    Descope field permissionsScopes.

  • jwt_bearer_disabledboolean

    jwtBearerDisabled rejects the JWT bearer grant (urn:ietf:params:oauth:grant-type:jwt-bearer) for this app. Default false. A public client cannot use this grant.

  • jwt_bearer_settingsobject

    string backChannelLogoutUrl = 10 [(validate).string = {url: true, optional: true}];

  • scope_claim_mappingobject[]

    scopeClaimMapping is the structured scope→claim model. Consumed by UpdateThirdPartyApplicationV2 (v2 write-replace: attributesScopes is ignored/cleared). v1 ignores this field.

  • allow_partial_scopesboolean

    Descope field allowPartialScopes.

  • device_code_disabledboolean

    deviceCodeDisabled rejects the device authorization grant (urn:ietf:params:oauth:grant-type:device_code) for this app. Default false.

  • id_jag_target_clientsobject

    Descope field idJagTargetClients.

  • approved_callback_urlsstring[]

    Descope field approvedCallbackUrls.

  • refresh_token_disabledboolean

    refreshTokenDisabled rejects the refresh_token grant for this app, so its tokens cannot be refreshed. Default false.

  • token_exchange_disabledboolean

    tokenExchangeDisabled rejects the token exchange grant (urn:ietf:params:oauth:grant-type:token-exchange) for this app. Default false.

  • mtls_client_auth_methodsobject

    Descope field mtlsClientAuthMethods.

  • workload_client_assertionsobject[]

    workloadClientAssertions are the workload identity trust entries (SPIFFE trust domain or OIDC issuer per entry).

  • authorization_code_disabledboolean

    authorizationCodeDisabled rejects the authorization_code grant for this app, including its authorization requests. Default false.

  • client_credentials_disabledboolean

    clientCredentialsDisabled rejects the client_credentials grant for this app. Default false. A public client cannot use this grant.

  • force_add_all_authorization_infoboolean

    Descope field forceAddAllAuthorizationInfo.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update third party application (v2)DESCOPE_UPDATE_THIRD_PARTY_APPLICATION_V2Acción

Update third party application (v2). Update a third party application using the structured scope-claim mapping model, using a valid management key. The legacy attributesScopes field is ignored and cleared.

Parámetros de entrada

  • idstringObligatorio

    Descope field id.

  • logostring

    Descope field logo.

  • namestringObligatorio

    Descope field name.

  • logo_urlstring

    Descope field logoUrl.

  • force_parboolean

    Descope field forcePar.

  • force_dpopboolean

    Descope field forceDpop.

  • force_mtlsboolean

    Descope field forceMtls.

  • force_pkceboolean

    Descope field forcePkce.

  • client_typestring

    Descope field clientType.

  • descriptionstring

    Descope field description.

  • ciba_enabledboolean

    cibaEnabled allows the CIBA grant (urn:openid:params:grant-type:ciba) for this app and requires cibaSettings. Default false. A public client cannot use this grant.

  • jar_settingsobject

    JAR (JWT-Secured Authorization Request, RFC 9101) settings for Third Party Applications

  • rar_settingsobject

    Descope field rarSettings.

  • ciba_settingsobject

    Descope field cibaSettings.

  • login_page_urlstringObligatorio

    Descope field loginPageUrl.

  • allowed_tenantsstring[]

    Descope field allowedTenants.

  • default_audiencestring

    Descope field defaultAudience.

  • session_settingsobject

    Descope field sessionSettings.

  • client_assertionsobject[]

    clientAssertions are the private_key_jwt trust entries (JWKS URL or PEM public key per entry).

  • custom_attributesobject

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

  • audience_whiteliststring[]

    Descope field audienceWhitelist.

  • client_auth_methodstring

    clientAuthMethod: "clientSecret" (default when empty), "privateKeyJwt" (only clientAssertions are accepted), "workloadIdentity" (only workloadClientAssertions are accepted) or "mtls" (only a registered mTLS certificate is accepted).

  • connections_scopesobject[]

    Descope field connectionsScopes.

  • permissions_scopesobject[]

    Descope field permissionsScopes.

  • jwt_bearer_disabledboolean

    jwtBearerDisabled rejects the JWT bearer grant (urn:ietf:params:oauth:grant-type:jwt-bearer) for this app. Default false. A public client cannot use this grant.

  • jwt_bearer_settingsobject

    Descope field jwtBearerSettings.

  • scope_claim_mappingobject[]

    Descope field scopeClaimMapping.

  • allow_partial_scopesboolean

    Descope field allowPartialScopes.

  • device_code_disabledboolean

    deviceCodeDisabled rejects the device authorization grant (urn:ietf:params:oauth:grant-type:device_code) for this app. Default false.

  • id_jag_target_clientsobject

    Descope field idJagTargetClients.

  • approved_callback_urlsstring[]

    Descope field approvedCallbackUrls.

  • refresh_token_disabledboolean

    refreshTokenDisabled rejects the refresh_token grant for this app, so its tokens cannot be refreshed. Default false.

  • token_exchange_disabledboolean

    tokenExchangeDisabled rejects the token exchange grant (urn:ietf:params:oauth:grant-type:token-exchange) for this app. Default false.

  • mtls_client_auth_methodsobject

    Descope field mtlsClientAuthMethods.

  • workload_client_assertionsobject[]

    workloadClientAssertions are the workload identity trust entries (SPIFFE trust domain or OIDC issuer per entry).

  • authorization_code_disabledboolean

    authorizationCodeDisabled rejects the authorization_code grant for this app, including its authorization requests. Default false.

  • client_credentials_disabledboolean

    clientCredentialsDisabled rejects the client_credentials grant for this app. Default false. A public client cannot use this grant.

  • force_add_all_authorization_infoboolean

    Descope field forceAddAllAuthorizationInfo.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update UserDESCOPE_UPDATE_USERAcción

Update User. ### Updates a user's details, using a valid management key. This API endpoint will update a user's details of a user utilizing a valid management key. It is important to understand the update will take the configurations for the user provided and will overwrite all user settings. This means that if the user currently has email and phone, but the update only includes email, the phone and other non-provided configurations will be removed. This API endpoint will remove any details that are not provided. It is preferred to use other updates supported by the API, such as the following options: - [Update User Status](/api/management/users/update-user-status) - [Update User Email](/api/management/users/update-user-email) - [Update User Phone](/api/management/users/update-user-phone) - [Update User Display Name](/api/management/users/update-user-display-name) - [Update User Add Tenant](/api/management/users/update-user-add-tenant) - [Update User Remove Tenant](/api/management/user

Parámetros de entrada

  • namestring

    Descope field name.

  • emailstring

    Descope field email.

  • phonestring

    Descope field phone.

  • statusstring

    Descope field status.

  • picturestring

    Descope field picture.

  • login_idstringObligatorio

    Descope field loginId.

  • given_namestring

    Descope field givenName.

  • role_namesstring[]

    Descope field roleNames.

  • family_namestring

    Descope field familyName.

  • middle_namestring

    Descope field middleName.

  • sso_app_idsstring[]

    Descope field ssoAppIds.

  • user_tenantsobject[]

    Descope field userTenants.

  • recovery_emailstring

    Descope field recoveryEmail.

  • recovery_phonestring

    Descope field recoveryPhone.

  • verified_emailboolean

    Descope field verifiedEmail.

  • verified_phoneboolean

    Descope field verifiedPhone.

  • custom_attributesobject

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

  • family_associationsobject[]

    each AssociatedFamily carries its own roleNames and familyScopedAttributes

  • additional_identifiersstring[]

    Descope field additionalIdentifiers.

  • session_classificationstring

    The session classification to assign the user to, by name. Omit the field to leave the current assignment untouched, send an empty string to remove it, and send a name to assign that classification. A name that does not match an existing classification is rejected.

  • verified_recovery_emailboolean

    Descope field verifiedRecoveryEmail.

  • verified_recovery_phoneboolean

    Descope field verifiedRecoveryPhone.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User Add FamiliesDESCOPE_UPDATE_USER_ADD_FAMILIESAcción

Update User Add Families. Add a user to one or more families, using a valid management key. Each family entry may also set the user's roles and family-scoped attributes for that family in the same call; omitting roleNames/familyScopedAttributes on a family the user already belongs to leaves them unchanged.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • family_associationsobject[]Obligatorio

    Descope field familyAssociations.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User Add RolesDESCOPE_UPDATE_USER_ADD_ROLESAcción

Update User Add Roles. Add roles to a user, using a valid management key.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • tenant_idstring

    Descope field tenantId.

  • role_namesstring[]

    Descope field roleNames.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User Add RolesDESCOPE_UPDATE_USER_ADD_ROLES_V2Acción

Update User Add Roles. ### Add roles to an existing user, using a valid management key. This API endpoint allows you to add roles to a user granularly without updating all user details. `roleNames` is an array of the role names in string format. The `tenantId` is optional; if provided, the user must be a member of that tenant The response returns the user's details in json format. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Manage Roles](/manage/roles/) for further details on managing roles.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • tenant_idstring

    Descope field tenantId.

  • role_namesstring[]

    Descope field roleNames.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add Application to UserDESCOPE_UPDATE_USER_ADD_SSOAPPSAcción

Add Application to User. ### Add Applications to an existing user, using a valid management key. This API endpoint allows you to add Applications to a user granularly without updating all user details. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Applications](/manage/idpapplications/) for further details on Applications.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • sso_app_idsstring[]

    Descope field ssoAppIds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User Add TenantDESCOPE_UPDATE_USER_ADD_TENANTAcción

Update User Add Tenant. ### Add a tenant to an existing user, using a valid management key. This API endpoint allows you to add a user to a tenant granularly without updating all user details. The response returns the user's details in json format. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Manage Tenants](/management/tenant-management) for further details on managing tenants.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • tenant_idstringObligatorio

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User Custom AttributeDESCOPE_UPDATE_USER_CUSTOM_ATTRIBUTEAcción

Update User Custom Attribute. ### Update an existing user's custom attributes, using a valid management key. This API endpoint allows you to update a user's custom attributes granularly without updating all user details. The response returns the user's details in json format. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Manage Tenants](/management/tenant-management) for further details on managing tenants.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • attribute_keystringObligatorio

    Descope field attributeKey.

  • attribute_valueany

    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.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User Display NameDESCOPE_UPDATE_USER_DISPLAY_NAMEAcción

Update User Display Name. ### Updates an existing user's display name, using a valid management key. This API endpoint allows you to update the user's display name granularly without updating all user details. The response returns the user's details in json format. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object.

Parámetros de entrada

  • namestring

    Descope field name.

  • login_idstringObligatorio

    Descope field loginId.

  • given_namestring

    Descope field givenName.

  • family_namestring

    Descope field familyName.

  • middle_namestring

    Descope field middleName.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User EmailDESCOPE_UPDATE_USER_EMAILAcción

Update User Email. ### Updates an existing user's email, using a valid management key. This API endpoint allows you to update the user's email granularly without updating all user details. The response returns the user's details in json format. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object.

Parámetros de entrada

  • emailstring

    Descope field email.

  • login_idstringObligatorio

    Descope field loginId.

  • verifiedboolean

    Descope field verified.

  • fail_on_conflictboolean

    Descope field failOnConflict.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User Impersonation ConsentDESCOPE_UPDATE_USER_IMPERSONATION_CONSENTAcción

Update User Impersonation Consent. Update user impersonation consent, using a valid management key. This allows granting impersonation consent without requiring the user-facing consent flow.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • tenant_idstring

    tenantId scopes the consent to a single tenant: impersonation is then allowed only into that tenant. Optional so that callers that do not know about scoping leave an existing scope alone; send an explicit empty string to clear it and allow every tenant the user belongs to.

  • impersonation_consentinteger

    Descope field impersonationConsent.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User Login IDDESCOPE_UPDATE_USER_LOGIN_IDAcción

Update User Login ID. ### Updates an existing user's login ID, using a valid management key. This API endpoint allows you to update a user's Login ID. If you'd like to remove a login ID, provide an empty string for the new login ID. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • new_login_idstring

    Descope field newLoginId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User PhoneDESCOPE_UPDATE_USER_PHONEAcción

Update User Phone. ### Updates an existing user's phone number, using a valid management key. This API endpoint allows you to update the user's phone number granularly without updating all user details. The response returns the user's details in json format. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object.

Parámetros de entrada

  • phonestring

    Descope field phone.

  • login_idstringObligatorio

    Descope field loginId.

  • verifiedboolean

    Descope field verified.

  • fail_on_conflictboolean

    Descope field failOnConflict.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User PictureDESCOPE_UPDATE_USER_PICTUREAcción

Update User Picture. ### Update an existing user's profile picture, using a valid management key. This API endpoint allows you to update a user's profile picture granularly without updating all user details. The response returns the user's details in json format. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Manage Tenants](/management/tenant-management) for further details on managing tenants.

Parámetros de entrada

  • picturestring

    Descope field picture.

  • login_idstringObligatorio

    Descope field loginId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User Recovery EmailDESCOPE_UPDATE_USER_RECOVERY_EMAILAcción

Update User Recovery Email. Update user recovery email, using a valid management key.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • verifiedboolean

    Descope field verified.

  • recovery_emailstring

    Descope field recoveryEmail.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User Recovery PhoneDESCOPE_UPDATE_USER_RECOVERY_PHONEAcción

Update User Recovery Phone. Update user recovery phone, using a valid management key.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • verifiedboolean

    Descope field verified.

  • recovery_phonestring

    Descope field recoveryPhone.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User Remove FamiliesDESCOPE_UPDATE_USER_REMOVE_FAMILIESAcción

Update User Remove Families. Remove a user from one or more families, using a valid management key.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • family_idsstring[]Obligatorio

    Descope field familyIds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User Remove RolesDESCOPE_UPDATE_USER_REMOVE_ROLESAcción

Update User Remove Roles. ### Remove roles from an existing user, using a valid management key. This API endpoint allows you to remove roles from a user granularly without updating all user details. `roleNames` is an array of the role names in string format. The `tenantId` is optional; if provided, the user must be a member of that tenant The response returns the user's details in json format. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Manage Roles](/manage/roles/) for further details on managing roles.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • tenant_idstring

    Descope field tenantId.

  • role_namesstring[]

    Descope field roleNames.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove Application to UserDESCOPE_UPDATE_USER_REMOVE_SSOAPPSAcción

Remove Application to User. ### Remove Applications from an existing user, using a valid management key. This API endpoint allows you to remove Applications from a user granularly without updating all user details. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Applications](/manage/idpapplications/) for further details on Applications.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • sso_app_idsstring[]

    Descope field ssoAppIds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User Remove TenantDESCOPE_UPDATE_USER_REMOVE_TENANTAcción

Update User Remove Tenant. ### Removes a tenant from an existing user, using a valid management key. This API endpoint allows you to remove a user from a tenant granularly without updating all user details. The response returns the user's details in json format. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Manage Tenants](/management/tenant-management) for further details on managing tenants.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • tenant_idstringObligatorio

    Descope field tenantId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Trusted DevicesDESCOPE_UPDATE_USER_REMOVE_TRUSTED_DEVICESAcción

Delete Trusted Devices. Delete user trusted devices by IDs.

Parámetros de entrada

  • login_idstringObligatorio

    The user's login identifier (external ID) or ID

  • device_idsstring[]

    Trusted device IDs to delete

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set User's RolesDESCOPE_UPDATE_USER_SET_ROLESAcción

Set User's Roles. ### Set an existing user's roles, using a valid management key. This API endpoint allows you to set a user's roles. This will override the current roles associated to the user and will set all passed roles. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Manage Roles](/manage/roles/) for further details on managing roles.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • tenant_idstring

    Descope field tenantId.

  • role_namesstring[]

    Descope field roleNames.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Applications to UserDESCOPE_UPDATE_USER_SET_SSOAPPSAcción

Set Applications to User. ### Set Applications for an existing user, using a valid management key. This API endpoint allows you to set the associated Applications for a user. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object. - See [Applications](/manage/idpapplications/) for further details on Applications.

Parámetros de entrada

  • login_idstringObligatorio

    Descope field loginId.

  • sso_app_idsstring[]

    Descope field ssoAppIds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update User StatusDESCOPE_UPDATE_USER_STATUSAcción

Update User Status. ### Updates an existing user's status, using a valid management key. This API endpoint allows you to update the user's status granularly without updating all user details. Available statuses to utilize: - invited - enabled - disabled The response returns the user's details in json format. ### See also - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object.

Parámetros de entrada

  • statusstringObligatorio

    Descope field status.

  • login_idstringObligatorio

    Descope field loginId.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload tenant API key for outbound appDESCOPE_UPLOAD_OUTBOUND_APP_TENANT_APIKEYAcción

Upload tenant API key for outbound app. Upload/set a static API key for a tenant on an apikey-type outbound application, using a valid management key. An optional externalIdentifier lets you store multiple keys for the same tenant and application, each addressable by that identifier when fetching the token. Uploading again with the same externalIdentifier (or with none) replaces the existing key.

Parámetros de entrada

  • app_idstringObligatorio

    Descope field appId.

  • api_keystringObligatorio

    Descope field apiKey.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • external_identifierstring

    Descope field externalIdentifier.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload Outbound App Tenant OAuth TokenDESCOPE_UPLOAD_OUTBOUND_APP_TENANT_OAUTH_TOKENAcción

Upload Outbound App Tenant OAuth Token. ### Upload a tenant OAuth token for an outbound application Import a pre-existing tenant-scoped OAuth token into an outbound application without requiring the user to re-run the OAuth flow. Requires a management key.

Parámetros de entrada

  • app_idstringObligatorio

    Descope field appId.

  • scopesstring[]

    Descope field scopes.

  • id_tokenstring

    Descope field idToken.

  • tenant_idstringObligatorio

    Descope field tenantId.

  • granted_bystring

    Descope field grantedBy.

  • access_tokenstring

    Descope field accessToken.

  • refresh_tokenstring

    Descope field refreshToken.

  • verify_refreshboolean

    Descope field verifyRefresh.

  • access_token_typestring

    Descope field accessTokenType.

  • access_token_expiryinteger

    Descope field accessTokenExpiry.

  • external_identifierstring

    Descope field externalIdentifier.

  • refresh_token_expiryinteger

    Descope field refreshTokenExpiry.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload user API key for outbound appDESCOPE_UPLOAD_OUTBOUND_APP_USER_APIKEYAcción

Upload user API key for outbound app. Upload/set a static API key for a user on an apikey-type outbound application, using a valid management key. An optional externalIdentifier lets you store multiple keys for the same user and application, each addressable by that identifier when fetching the token. Uploading again with the same externalIdentifier (or with none) replaces the existing key.

Parámetros de entrada

  • app_idstringObligatorio

    Descope field appId.

  • api_keystringObligatorio

    Descope field apiKey.

  • user_idstringObligatorio

    Descope field userId.

  • tenant_idstring

    Descope field tenantId.

  • external_identifierstring

    Descope field externalIdentifier.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload Outbound App User OAuth TokenDESCOPE_UPLOAD_OUTBOUND_APP_USER_OAUTH_TOKENAcción

Upload Outbound App User OAuth Token. ### Upload a user OAuth token for an outbound application Import a pre-existing user-scoped OAuth token into an outbound application without requiring the user to re-run the OAuth flow. Requires a management key.

Parámetros de entrada

  • app_idstringObligatorio

    Descope field appId.

  • scopesstring[]

    Descope field scopes.

  • user_idstringObligatorio

    Descope field userId.

  • id_tokenstring

    Descope field idToken.

  • tenant_idstring

    Descope field tenantId.

  • granted_bystring

    Descope field grantedBy.

  • access_tokenstring

    Descope field accessToken.

  • refresh_tokenstring

    Descope field refreshToken.

  • verify_refreshboolean

    Descope field verifyRefresh.

  • access_token_typestring

    Descope field accessTokenType.

  • access_token_expiryinteger

    Descope field accessTokenExpiry.

  • external_identifierstring

    Descope field externalIdentifier.

  • refresh_token_expiryinteger

    Descope field refreshTokenExpiry.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Available Custom AttributesDESCOPE_USER_CUSTOM_ATTRIBUTESAcción

Get Available Custom Attributes. ### Get available custom attributes to configure on users within a project, using a valid management key. This API endpoint will return the available user custom attributes within a project. ### See also - See [Custom Attributes](/manage/users#custom-user-attributes) for further details on custom user attributes - See [Manage Users](/manage/users) for further details on managing users. - See [The User Object](/api/overview#the-user-object) for further details on the user object.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Users Authentication History V2DESCOPE_USERS_AUTH_HISTORY_V2Acción

Users Authentication History V2. Load users' authentication history by user IDs, using a valid management key. V2 endpoint with improved request body handling.

Parámetros de entrada

  • user_idsstring[]

    Descope field userIds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate JWT TemplateDESCOPE_VALIDATE_JWT_TEMPLATEAcción

Validate JWT Template. Dry-run validate a JWT template without saving. Pass either an inline `template` payload (to validate before create/update) or an existing `id` (to lint a saved template). Returns a list of `ValidationIssue`s — empty list means valid.

Parámetros de entrada

  • idstring

    Descope field id.

  • templateobject

    Descope field template.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate Project SnapshotDESCOPE_VALIDATE_SNAPSHOTAcción

Validate Project Snapshot. ### Validate a project snapshot utilizing a management key. This endpoint allows you to validate a project snapshot before importing it. ### See Also - See [Managing Environments](/customize/environments/) for details about managing environments.

Parámetros de entrada

  • filesobjectObligatorio

    Descope field files.

  • excludesstring[]

    Descope field excludes.

  • input_secretsobject

    Descope field inputSecrets.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load a list of relations for the given target including all derived relationsDESCOPE_WHAT_CAN_TARGET_ACCESSAcción

Load a list of relations for the given target including all derived relations. Load a list of relations for the given target including all derived relations.

Parámetros de entrada

  • targetstringObligatorio

    Descope field target.

  • contextobject

    Optional flat key-value context for evaluating ABAC conditions and facts. Relations gated by a condition are returned only when this context satisfies it (same semantics as Check).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Load the resources that the target has the given relation to including all derived relationssDESCOPE_WHAT_CAN_TARGET_ACCESS_WITH_RELATIONAcción

Load the resources that the target has the given relation to including all derived relationss. Load the resources that the target has the given relation to including all derived relations

Parámetros de entrada

  • targetstringObligatorio

    Descope field target.

  • contextobject

    Optional flat key-value context for evaluating ABAC conditions and facts. Resources reachable only through a condition-gated relation are returned only when this context satisfies it (same as Check).

  • namespacestringObligatorio

    Descope field namespace.

  • parent_targetstring

    Descope field ParentTarget.

  • relation_definitionstringObligatorio

    Descope field relationDefinition.

  • parent_relation_definitionstring

    Descope field ParentRelationDefinition.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Query who can access resource with relationDESCOPE_WHO_CAN_ACCESSAcción

Query who can access resource with relation. Return a list of users who can access a given resource with given relation.

Parámetros de entrada

  • contextobject

    Optional flat key-value context for evaluating ABAC conditions and facts. Targets whose relation is gated by a condition are returned only when this context satisfies it (same semantics as Check).

  • resourcestringObligatorio

    Descope field resource.

  • namespacestringObligatorio

    Descope field namespace.

  • target_typestring

    Optional: when set, only targets of this type (namespace) are returned. Empty returns all targets.

  • relation_definitionstringObligatorio

    Descope field relationDefinition.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not