Skip to main content
POST
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.

Body

application/json
email
string
required
permission_added
string[] | null

Grants added on top of the set.

permission_removed
string[] | null

Grants removed from the set.

permission_set
string | null

New shape: name of the permission set this user is linked to.

permissions
string[] | null

Legacy shape: explicit permission list. When set, it's treated as permission_added against no set. The dashboard's new code path sends permission_set + permission_added + permission_removed instead; this field exists only for backwards compatibility with callers that haven't been upgraded.

Response

Member added, with their resolved permissions.