Skip to main content
PATCH
Error

Authorizations

Authorization
string
header
required

A scoped AgentEye API key. Mint one in the dashboard under Settings → API keys, or with POST /v1/keys. Each endpoint names the permission it requires; a key without it gets 403 and a required_permission field naming what was missing.

Path Parameters

id
string<uuid>
required

The key's id, as returned by GET /keys.

Body

application/json
permissions
string[]
required

The key's complete new permission list — it REPLACES the old one.

Response

The key's metadata with its new permissions.