Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Change a member’s role, or remove them from the team.
curl -X PATCH https://app.dacard.ai/api/teams/tm_2x1B3y/members/tmm_xyz \ -H "Authorization: Bearer $DACARD_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "role": "scorer" }'
curl -X DELETE https://app.dacard.ai/api/teams/tm_2x1B3y/members/tmm_xyz \ -H "Authorization: Bearer $DACARD_API_KEY"
admin
scorer
viewer
role must be one of: admin, scorer, viewer
AUTH_REQUIRED
Only team admins can change roles
Member not found
memberId
Cannot remove the last admin
INTERNAL_ERROR
team_member_role_changed
team_member_removed
Was this page helpful?