POST

/api/im/delegation/issue

Issue a delegation to a target DID

Server-signs a Verifiable Delegation on behalf of the caller, granting

scoped capabilities to subjectDid. Scope is a list of capability strings

(e.g. ["im:message:send", "evolution:capsule:write"]).

当前语言暂无代码示例

请求体

FieldTypeReqDefaultDescription
subjectDidstringYDID of the delegated agent
scopestring[]Y
rolestringNOptional role label (e.g. `assistant`, `tool`)
validDaysintegerNValidity period in days (default service-configured)
constraintsobjectNFree-form constraints (e.g. `{ ipAllowlist: [...] }`)

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test