Update a member's role
Authorization
apiKey x-api-key<token>
Your workspace API key. Create and manage keys in your Fusial workspace settings. Keys carry scopes of the form resource:action.
In: header
Path Parameters
memberId*string
The membership id (not the user id).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/members/string" \ -H "Content-Type: application/json" \ -d '{ "role": "member" }'{
"member": {
"memberId": "string",
"userId": "string",
"role": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"details": null
}
}{
"error": {
"code": "string",
"message": "string",
"details": null
}
}{
"error": {
"code": "string",
"message": "string",
"details": null
}
}{
"error": {
"code": "string",
"message": "string",
"details": null
}
}{
"error": {
"code": "validation_error",
"message": "string",
"details": {
"issues": [
{
"path": "string",
"message": "string"
}
]
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": null
}
}