agents

Set Agent Role

Changes the role of the agent's service account (manager() only). Fenced against the caller (403 role_exceeds_caller, role_not_allowed) and the steward (409 steward_role_too_low).

put/agents/{id}/role

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/agents/{id}/role
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Path parameters

idstring required

agent id

Request body

role_idstring

Response

OK

successboolean

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.