Skip to content

Update Member​

PATCH
/api/org/users/{memberId}

Update an organization member's role.

Authorizations​

ApiKeyAuth

API key for authentication. Get your API key from the dashboard.

Type
API Key (header: X-Api-Key)

Parameters​

Path Parameters

memberId*
Type
string
Required
Min Length
1

Request Body​

application/json
JSON
{
  
"data": {
  
  
"type": "members",
  
  
"id": "string",
  
  
"attributes": {
  
  
  
"role": "string"
  
  
}
  
}
}

Responses​

Member geüpdatet

application/vnd.api+json
JSON
{
  
"data": {
  
  
"memberId": "string",
  
  
"role": "string"
  
}
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

AstroAPI Documentation