Skip to main content
POST
Apply a permission template to an agent

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Required for every non-open scope. Bootstrap the first key with ravi daemon init-admin-key; rotate, derive, and revoke via the ravi context family. Specs: runtime/context-keys, sdk/auth.

Body

application/json
subject
string
required

Subject (e.g., agent:dev)

template
string
required

Template: sdk-tools, all-tools, safe-executables, full-access, tool-groups

Response

Success — no @Returns schema declared; payload shape is loose.

The response is of type object.