Change a workspace member's role
Changed onChange a member's role. Use the ownership transfer to make someone the owner; the only owner's role can't be changed. Returns the updated member list. Requires the workspaces:manage instance permission; API keys are rejected.
Request
- Base URLhttps://cloud.kaneo.app/api
- URLhttps://cloud.kaneo.app/api/admin/workspaces/{workspaceId}/members/{userId}/role
- AuthHTTP bearer
Path parameters
Request body
Response
Updated workspace members
Changes
- breaking
removed the media type
text/plainfor the response with the status - breaking
removed the media type
text/plainfor the response with the status - breaking
removed the media type
text/plainfor the response with the status - breaking
removed the media type
text/plainfor the response with the status - breaking
removed the media type
text/plainfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking
- breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the media type
application/jsonfor the response with the status - info
added the media type
text/plainfor the response with the status - info
added the media type
text/plainfor the response with the status - info
added the media type
text/plainfor the response with the status - info
added the media type
text/plainfor the response with the status - info
added the non-success response with the status
- breaking