post/agents/{agentId}/permissions

Request

  • Base URL: https://api.useanima.sh/v1
  • URL: https://api.useanima.sh/v1/agents/{agentId}/permissions
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

agentIdstring required

Agent to change

Request body

procedurePathstring

Procedure to set. Omit when setting bypassReads.

state'ASK' | 'ALWAYS_ALLOW' | 'NEVER'

Required with procedurePath

bypassReadsboolean

Turn the blanket read-only grant on or off. Omit when setting a procedure.

Response

OK

agentIdstring required
procedurePathstring nullable required
state'ASK' | 'ALWAYS_ALLOW' | 'NEVER' nullable required

ASK (file a request and wait for the owner), ALWAYS_ALLOW (proceed without asking), NEVER (refuse outright and do not queue a request).

bypassReadsboolean required

Changes

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