HOC SiteDocumentation

Change user role to a custom role only

Method: PATCH · Auth: bearer · Group: access

/api/v1/{locale}/{websiteId}/platform-users/{userId}

Request

  • Content-Type: application/json
{ "roleId": "uuid" }

Schema

{
  "method": "PATCH",
  "path": "/api/v1/{locale}/{websiteId}/platform-users/{userId}",
  "contentType": "application/json",
  "bodyHint": "{ \"roleId\": \"uuid\" }"
}

MCP tools