Obtain delegation token
documentedLegacy mechanism to obtain a delegation token for calling another API/add-on (deprecated in newer tenants).
POST /delegationAuthentication APIno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$domain}}/delegation" \
-X POST \
-H "Content-Type: application/json" \
-d '{"client_id": "{{$client_id}}", "grant_type": "urn:ietf:params:oauth:grant-type:jwt-bearer", "id_token": "{{$id_token}}", "target": "{{$target}}", "scope": "{{$scope}}", "api_type": "{{$api_type}}"}'