انتقل إلى المحتوى الرئيسي

Function: agentAdminSubject()

agentAdminSubject(instanceId, verb): string

Defined in: packages/contracts/src/subjects.ts:117

Builds the subject an instance's dedicated agent serves.

Parameters​

instanceId​

string

The agent instance id (lowercase letters, digits, hyphens).

verb​

string

What is asked of the agent.

Returns​

string

agent.<instanceId>.admin.<verb>.

Throws​

A token is malformed.