/v1/mgmt/thirdparty/app/updateAuthorization
Descope Project ID and Management Key Project ID:Management Key as bearer token.
In: header
Request Body
application/json
1 <= length1 <= length1 <= lengthstring backChannelLogoutUrl = 10 [(validate).string = {url: true, optional: true}];
items <= 100"" | "projectId" | "clientId"Custom attributes as key-value pairs. Keys must be strings; values can be strings, numbers, booleans, or arrays.
{
"attribute-key": "attribute-value"
}JAR (JWT-Secured Authorization Request, RFC 9101) settings for Third Party Applications
"" | "confidential" | "public"clientCredentialsDisabled rejects the client_credentials grant for this app. Default false. A public client cannot use this grant.
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.
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.
scopeClaimMapping is the structured scope→claim model. Consumed by UpdateThirdPartyApplicationV2 (v2 write-replace: attributesScopes is ignored/cleared). v1 ignores this field.
clientAuthMethod: "clientSecret" (default when empty), "privateKeyJwt" (only clientAssertions are accepted), "workloadIdentity" (only workloadClientAssertions are accepted) or "mtls" (only a registered mTLS certificate is accepted).
"" | "clientSecret" | "privateKeyJwt" | "workloadIdentity" | "mtls"clientAssertions are the private_key_jwt trust entries (JWKS URL or PEM public key per entry).
workloadClientAssertions are the workload identity trust entries (SPIFFE trust domain or OIDC issuer per entry).
authorizationCodeDisabled rejects the authorization_code grant for this app, including its authorization requests. Default false.
refreshTokenDisabled rejects the refresh_token grant for this app, so its tokens cannot be refreshed. Default false.
deviceCodeDisabled rejects the device authorization grant (urn:ietf:params:oauth:grant-type:device_code) for this app. Default false.
tokenExchangeDisabled rejects the token exchange grant (urn:ietf:params:oauth:grant-type:token-exchange) for this app. Default false.
tags replace the app's labels, matched by policy rules through client.tags conditions. Up to 100 tags, each up to 100 bytes. Empty clears them.
items <= 100noScopeBehavior decides what this application grants when a client's authorization or token request names no scopes (after the protocol-only scopes "openid" and "offline_access" are dropped). Send one of: 0 = legacyNoScopePolicy, keep the behavior this application kind already had, which is granting every advertised scope for a third party application and granting none for a sign-in application (the default); 1 = grantDefaultScopes, grant exactly the defaultScopes list; 2 = grantAllScopes, grant every scope the application advertises. Values 1 and 2 behave identically on both application kinds. Omit the field entirely to leave the stored behavior untouched; sending 0 sets it back to legacy.
enum"legacyNoScopePolicy" | "grantDefaultScopes" | "grantAllScopes"defaultScopes are the scopes granted when noScopeBehavior is grantDefaultScopes (1) and a client requests no scopes; ignored under every other behavior. Must name at least one scope that is not a protocol scope under that behavior - "openid" alone resolves to nothing once the request validator strips it. Every entry has to be a scope the application's own request validator accepts, or each scope-less request fails with invalid_scope: on a third party application that means a scope the application declares (its permission, attribute or connection scopes, or its scopeClaimMapping), plus "openid"; on a sign-in application that defines its own scopeClaimMapping, that mapping plus "openid" and "profile"; on a sign-in application without one, any standard OIDC scope ("openid", "profile", "email", "phone", "picture", "descope.claims", "customAttributes."). "offline_access" is always rejected - a refresh token has to be requested. Defaults to empty.
items <= 100Update a third party application, using a valid management key.
curl -X POST "https://api.descope.com/v1/mgmt/thirdparty/app/update" \ -H "Content-Type: application/json" \ -d '{ "id": "string", "name": "string", "loginPageUrl": "string" }'