Matchai Docs

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. This is documented ahead of launch so you can plan your integration; it is not available yet.
PATCH
/teams/{team_id}/members/{member_id}

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.

Authorization

headerAuthorizationBearer <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

Path Parameters

team_id*string

Team id.

Length1 <= length <= 64
member_id*string

The member’s professional id, or contact id for a contact on a project.

Length1 <= length <= 64

Request Body

application/json
  1. body
role*string

Ownership is transferred in Matchai, not here.

Value in"admin""member"

Response Body

The member.

application/json
  1. response
professional_id?|

Professional id, for a professional member.

Length1 <= length <= 64
contact_id?|

Contact id, for a contact on a project.

Length1 <= length <= 64
user_id?|

Account id.

Length1 <= length <= 64
display_name*string

Name.

username?|

Handle.

avatar_url?|

Picture.

Formaturi
role*|null
joined_at*string

Joined.

Formatdate-time
Example Request
curl -X PATCH 'https://api.matchai.co/v1/teams/string/members/string' \  -H 'Content-Type: application/json' \  -d '{  "role": "admin"}'
Example Response
{  "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"}