Skip to main content
PUT
cURL

Path Parameters

machineIdentityId
string<uuid>
required

The ID of the machine identity the delegation belongs to.

Query Parameters

projectId
string

The ID of the Agent Vault project.

Required string length: 1 - 36

Body

application/json
scope
enum<string>
required

Which users the machine identity can start sessions on behalf of: every member of the project (all-members), or only the users and the members of the groups in the delegation (selected).

Available options:
all-members,
selected
Example:

"selected"

userIds
string<uuid>[]

The users the machine identity can act on behalf of, up to 100. Each must be a member of the Agent Vault project. Only allowed when the scope is selected.

Maximum array length: 100
Example:
groupIds
string<uuid>[]

The groups whose members the machine identity can act on behalf of, up to 100. Each must be a member of the Agent Vault project. Only allowed when the scope is selected.

Maximum array length: 100
Example:

Response

Default Response

delegation
object
required