Update agent edit access
Choose who besides the owner may edit a team-shared agent. team and members require team visibility. With members, editor_emails replaces the named editors (an empty list is allowed); every email must belong to an active admin or member of the agent’s team. owner and team clear the named editors and ignore editor_emails. Only the owner may change edit access. This does not change config_version.
Authorizations
JWT authentication token
Path Parameters
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
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.
owner, team, members 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.
200Response
Edit access updated
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.
owner, team, members Named editors; used when edit_access is members.

