cURL
curl --request PATCH \ --url https://api.agentixx.io/api/settings/team/members/{id} \ --header 'Content-Type: application/json' \ --header 'x-tenant-id: <api-key>' \ --cookie better-auth.session_token= \ --data ' { "role": "admin" } '
{ "ok": true }
Change a team member role (admin/agent). Admin only.
Session cookie set by Better Auth on sign-in.
Tenant/workspace UUID. Required on all /api/* endpoints.
Change a team member role
admin
agent
Role updated