Skip to main content
PATCH
/
api
/
v1
/
organization_members
/
{id}
curl --request PATCH \
  --url https://api.main.apexscore.ai/api/v1/organization_members/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "role": "1",
  "accessible_portfolios": [
    "6c58243e-f4ce-4295-abd8-d7d6df94996d",
    "9e1086df-87f7-48ca-9fed-a54eb878ff0c"
  ]
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "[email protected]"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

A UUID string identifying this organization member.

Body

application/json
role
enum<integer>
  • 0 - member
  • 1 - collaborator
  • 2 - administrator
Available options:
0,
1,
2
Required range: -2147483648 <= x <= 2147483647
is_active
boolean
organization
object
originator
boolean

Response

200 - application/json
id
string<uuid>
required
first_name
string
required
last_name
string
required
email
string<email>
required