Skip to main content
PATCH
Update agent edit access

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

agent_id
string
required

Your own agent's ID (kebab-case slug), or the UUID of a custom agent: one you own, or a team-shared agent you can run (the id GET /api/v1/agents returns for it).

Body

application/json
edit_access
enum<string>
required

Who besides the owner may edit a team-shared agent: owner nobody; team every active team admin or member; members the named editors. Viewers never edit.

Available options:
owner,
team,
members
editor_emails
string[]

With members, the complete list of named editors: emails of active admins or members of the agent's team (email from GET /api/v1/teams/members), matched case-insensitively; surrounding spaces and duplicates are ignored. Ignored for owner and team.

Maximum array length: 200

Response

Edit access updated

edit_access
enum<string>
required

Who besides the owner may edit a team-shared agent: owner nobody; team every active team admin or member; members the named editors. Viewers never edit.

Available options:
owner,
team,
members
editors
object[]
required

Named editors; used when edit_access is members.