Skip to content

Replace a source token while keeping its identity, expiry, quota and retry receipts

POST
/api/v1/channels/sources/{realmName}/{sourceName}/delegations/{id}/rotate
curl --request POST \
--url http://localhost:11044/api/v1/channels/sources/example/example/delegations/example/rotate \
--header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'
realmName
required
string

Name of a realm installed, and not revoked, in the signed-in owner’s world; 403 otherwise

sourceName
required
string

Name of a source the realm declares and the owner has approved; 403 when the realm declares no source of this name or its approval no longer holds

id
required
string

Delegation id (a UUID), as id in the issue or list response

The delegation and its new token

Media type*/*
object