Change a member's role
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/organizations/members/string/role" \ -H "Content-Type: application/json" \ -d '{ "role": "owner" }'{ "id": "string", "name": "string", "email": "string", "image": "string", "role": "owner", "status": "active", "joinedAt": "string", "invitedAt": "string"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}