/v1/mgmt/thirdparty/app/secret/addAuthorization
Descope Project ID and Management Key Project ID:Management Key as bearer token.
In: header
Request Body
application/json
1 <= length <= 2541 <= length <= 100int32Add 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).
curl -X POST "https://api.descope.com/v1/mgmt/thirdparty/app/secret/add" \ -H "Content-Type: application/json" \ -d '{ "id": "string", "name": "string" }'{ "meta": { "id": "string", "name": "string", "status": "string", "expireTime": 0, "createdTime": 0 }, "cleartext": "string"}export interface Response {meta?: {id?: stringname?: stringstatus?: stringexpireTime?: numbercreatedTime?: number}cleartext?: string}Batch delete third party applications POST
Delete multiple third party applications in batch, using a valid management key.
Create third party application consent POST
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.