Update the information of an existing membership.
membership id
Code of a role. Unique in the organization.
OK
Meta data object.
Each error object contains a "path" key and an "info" key. The "path" is the JSON path of the request object to indicate the error location. The "info" is a human-readable description of the error.
Object describes membership information.
Object describes role information.
Bad Request
Meta data object.
Each error object contains a "path" key and an "info" key. The "path" is the JSON path of the request object to indicate the error location. The "info" is a human-readable description of the error.
Unauthorized
Meta data object.
Each error object contains a "path" key and an "info" key. The "path" is the JSON path of the request object to indicate the error location. The "info" is a human-readable description of the error.
Forbidden
Meta data object.
Each error object contains a "path" key and an "info" key. The "path" is the JSON path of the request object to indicate the error location. The "info" is a human-readable description of the error.
Not Found
Meta data object.
Each error object contains a "path" key and an "info" key. The "path" is the JSON path of the request object to indicate the error location. The "info" is a human-readable description of the error.
Unprocessable Entity (WebDAV)
Meta data object.
Each error object contains a "path" key and an "info" key. The "path" is the JSON path of the request object to indicate the error location. The "info" is a human-readable description of the error.
Internal Server Error
Meta data object.
Each error object contains a "path" key and an "info" key. The "path" is the JSON path of the request object to indicate the error location. The "info" is a human-readable description of the error.
{
"role": {
"code": "admin"
}
}{ "meta": { "code": 200, "type": "OK", "message": "Everything worked as expected." }, "data": { "id": "3ea1910b07394a95bf7cdaa611d3cc3f", "organization": { "id": "511ceb52969b400a93e3422c743ae34a" }, "account": { "id": "74d998151a1b4668bee5a283712dd57e", "email": "[email protected]" }, "role": { "code": "admin", "name": "Admin" } } }