API ReferenceManagementInbound Apps
POST
/v1/mgmt/thirdparty/consents/search

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

appId?string
userId?string
consentId?string
page?integer

Page number starting with 0 for the first page

Formatint32
tenantId?string
limit?integer
Formatint32

Search third party applications consents, using a valid management key.

curl -X POST "https://api.descope.com/v1/mgmt/thirdparty/consents/search" \  -H "Content-Type: application/json" \  -d '{}'
{  "consents": [    {      "id": "string",      "appId": "string",      "userId": "string",      "scopes": [        "string"      ],      "grantedBy": "string",      "createdTime": 0,      "tenantId": "string",      "ExpireTime": 0,      "modifiedTime": 0    }  ],  "total": 0}
export interface Response {consents?: ThirdPartyApplicationConsent[]total?: number}export interface ThirdPartyApplicationConsent {id?: stringappId?: stringuserId?: stringscopes?: string[]grantedBy?: stringcreatedTime?: numbertenantId?: stringExpireTime?: numbermodifiedTime?: number}
Was this helpful?