Change a member’s roleComing soon
Makes a member an admin or a member. Ownership is transferred in Matchai, not through the API.
Coming soon. Makes a member an admin or a member. Ownership is transferred in Matchai, not through the API.
Scopes: teams:write
Pricing: Included with the connection.
AuthorizationBearer <matchai_<base62>>A personal API key, sent as Authorization: Bearer matchai_…. Create keys in Matchai under Settings → Connectors → Advanced (for developers). A key starts with matchai_ followed by letters and digits, carries the scopes chosen when it was created, and can be revoked at any time. Keys reach only the account that created them: to serve other professionals, use Connect with Matchai.
Scope: teams:write
team_id*stringTeam id.
1 <= length <= 64member_id*stringThe member’s professional id, or contact id for a contact on a project.
1 <= length <= 64application/json- body
role*stringOwnership is transferred in Matchai, not here.
"admin""member"The member.
application/json- response
professional_id?|Professional id, for a professional member.
1 <= length <= 64contact_id?|Contact id, for a contact on a project.
1 <= length <= 64user_id?|Account id.
1 <= length <= 64display_name*stringName.
username?|Handle.
avatar_url?|Picture.
urirole*|nulljoined_at*stringJoined.
date-timecurl -X PATCH 'https://api.matchai.co/v1/teams/string/members/string' \ -H 'Content-Type: application/json' \ -d '{ "role": "admin"}'{ "professional_id": "string", "contact_id": "string", "user_id": "string", "display_name": "string", "username": "string", "avatar_url": "http://example.com", "role": "owner", "joined_at": "2019-08-24T14:15:22Z"}