POST
/v1/mgmt/outbound/app/tenant/apikey/upload

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

appId*string
Length1 <= length <= 254
tenantId*string
Length1 <= length
apiKey*string
Length1 <= length <= 10000
externalIdentifier?string
Lengthlength <= 254

Upload/set a static API key for a tenant on an apikey-type outbound application, using a valid management key. An optional externalIdentifier lets you store multiple keys for the same tenant and application, each addressable by that identifier when fetching the token. Uploading again with the same externalIdentifier (or with none) replaces the existing key.

curl -X POST "https://api.descope.com/v1/mgmt/outbound/app/tenant/apikey/upload" \  -H "Content-Type: application/json" \  -d '{    "appId": "string",    "tenantId": "string",    "apiKey": "string"  }'
{}
export interface Response {}
Was this helpful?