Skip to content

Issue an expiring append-only token for an exact approved source

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

The token is returned once. Supply installationId, sourceRevision, label, expiresInSeconds and maxEvents.

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

The new delegation and its token

Media type*/*
object