Replace a source token while keeping its identity, expiry, quota and retry receipts
POST
/api/v1/channels/sources/{realmName}/{sourceName}/delegations/{id}/rotate
const url = 'http://localhost:11044/api/v1/channels/sources/example/example/delegations/example/rotate';const options = {method: 'POST', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”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
Responses
Section titled “Responses”The delegation and its new token
Media type*/*

