/v1/mgmt/agentic/identities/xaa/unblockAuthorization
Descope Project ID and Management Key Project ID:Management Key as bearer token.
In: header
Request Body
application/json
Consent IDs of the agentic identities, as returned by SearchAgenticIdentities
1 <= items <= 100Unblock XAA (ID-JAG) agentic identities by consent ID, using a valid management key. Unblocking restores token exchanges for the identities. An unblock can take up to 5 minutes to apply, since the blocked state is cached. Consent IDs are returned by the search agentic identities API. Returns the updated identities with their current blocked state. Only identities that were updated are returned; requested consent IDs that were not updated are listed in skippedConsentIds.
curl -X POST "https://api.descope.com/v1/mgmt/agentic/identities/xaa/unblock" \ -H "Content-Type: application/json" \ -d '{ "consentIds": [ "string" ] }'{ "identities": [ { "consent": { "id": "string", "appId": "string", "userId": "string", "scopes": [ "string" ], "grantedBy": "string", "createdTime": 0, "tenantId": "string", "ExpireTime": 0, "modifiedTime": 0, "authMethod": "string", "blocked": true }, "agentName": "string", "resourceId": "string", "clientId": "string", "createdBy": "string" } ], "skippedConsentIds": [ "string" ]}export interface Response {identities?: AgenticIdentity[]/** * Requested consent IDs that were not updated: unknown IDs, and on block, consents that are not ID-JAG consents */skippedConsentIds?: string[]}export interface AgenticIdentity {consent?: {id: stringappId: stringuserId?: stringscopes?: string[]grantedBy?: stringcreatedTime?: numbertenantId?: stringExpireTime?: numbermodifiedTime?: number/** * Empty for an explicit consent, "idJag" for an identity recorded by a Cross-App Access exchange, which cannot be revoked */authMethod?: string/** * True when an admin blocked this "idJag" identity, so the user's ID-JAG exchanges for the application are rejected with invalid_grant */blocked?: boolean}agentName?: stringresourceId?: stringclientId?: stringcreatedBy?: string}Set inbound app attribute POST
Create or update a single inbound app custom attribute definition (upsert by machine name), using a valid management key. Each inbound app sets its own values for these attributes, which JWT templates read as {{app.customAttributes.<name>}}.
Update third party application (v2) POST
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.