Skip to Content
Accounts

Change a Member's role

PATCH
/accounts/{account_id}/members/{member_id}

Authorization

headerAuthorizationBearer <token>

qlt_… Access token (kind api)

Path Parameters

account_id*string
member_id*string

Request Body

application/json
  1. body
role?Role
Value in"owner""admin""member"

Response Body

OK

application/json
  1. response
id*string
email*string
name?string|null
role*Role
Value in"owner""admin""member"
joined_at?string
Formatdate-time
external_id?string

only for a Partner person: the Partner's id of the person

Example Request
curl -X PATCH 'https://tiltas.openpanel.sh/api/v1/accounts/string/members/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "id": "string",  "email": "string",  "name": "string",  "role": "owner",  "joined_at": "2019-08-24T14:15:22Z",  "external_id": "string"}