/v1/mgmt/outbound/app/tenant/oauthtoken/uploadAuthorization
Descope Project ID and Management Key Project ID:Management Key as bearer token.
In: header
Request Body
application/json
1 <= length <= 2541 <= lengthlength <= 10000length <= 10000int32length <= 32length <= 254length <= 10000length <= 254int32Upload 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.
curl -X POST "https://api.descope.com/v1/mgmt/outbound/app/tenant/oauthtoken/upload" \ -H "Content-Type: application/json" \ -d '{ "appId": "string", "tenantId": "string" }'{}export interface Response {}Upload Outbound App User OAuth Token POST
### 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.
Batch Upload Outbound App User OAuth Tokens POST
### 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.