Remove From Custom Role
Sessions
Remove From Custom Role
Remove a user from a custom role slot in a session
PATCH
Remove From Custom Role
Remove a user from a custom role they currently hold. The slot will be made vacant again. This is an administrative action. The target user must be a workspace member.
Custom roles are a Premium/Enterprise feature. This endpoint will return a 403 error for free-tier workspaces.
Request
Parameters
The session ID
The Roblox user ID of the user to remove from the role (must be a workspace member)
The name of the custom role to remove the user from
Response
200
Errors
| Status | Description |
|---|---|
| 400 | Target user is not in this role, or target user is not a workspace member |
| 403 | Premium/Enterprise subscription required |
| 404 | Session or custom role not found |
Authorizations
Pass your API key in the apikey header. Alternatively, the x-api-key header is also accepted.
Path Parameters
The session ID
Body
application/json
Response
User removed from custom role successfully

