API referenceOrganization
PATCH /organizations/{orgId}/members/{userId}
Path Parameters
orgId*string
userId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X PATCH "https://example.com/organizations/string/members/string" \ -H "Content-Type: application/json" \ -d '{ "role": "user" }'{ "$schema": "https://example.com/schemas/OkOutputBody.json", "ok": true}role*string
Value in
- "user"
- "admin"
- "owner"