Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
POST /cloud/v2/groups/{group_id}/memberships/{membership_id}:unassignRole — cloud.docs
Unassign Role Group Membership
Unassigns a specific role from a user within a group. If the user does not hold the specified role, no action is taken.
Endpoint
Method: POST
Path: /cloud/v2/groups/{group_id}/memberships/{membership_id}:unassignRole
Servers:
https://apis.roblox.com
Parameters
| Name | Location | Required | Description |
|---|---|---|---|
| group_id | path | true | The group ID. |
| membership_id | path | true | The membership ID. |
[
{
"name": "group_id",
"in": "path",
"description": "The group ID.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "membership_id",
"in": "path",
"description": "The membership ID.",
"required": true,
"schema": {
"type": "string"
}
}
] Request Body
{
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnassignRoleGroupMembershipRequest"
}
}
},
"required": true
} Responses
| Status | Description |
|---|---|
| 200 | OK |
{
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GroupMembership"
}
}
}
}
} Authentication
{
"security": [],
"securitySchemes": {}
} Related Schemas
Complete Operation Definition
{
"tags": [
"Cloud"
],
"summary": "Unassign Role Group Membership",
"description": "Unassigns a specific role from a user within a group. If the user does\nnot hold the specified role, no action is taken.",
"operationId": "Cloud_UnassignRoleGroupMembership",
"parameters": [
{
"name": "group_id",
"in": "path",
"description": "The group ID.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "membership_id",
"in": "path",
"description": "The membership ID.",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnassignRoleGroupMembershipRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GroupMembership"
}
}
}
}
},
"x-visibility": "BETA",
"x-roblox-engine-usability": {
"apiKeyWithHttpService": true
},
"x-roblox-scopes": [
{
"name": "group:write"
}
],
"x-roblox-docs": {
"category": "Users and groups",
"methodProperties": {
"scopes": [
"group:write"
]
},
"resource": {
"$ref": "#/components/schemas/GroupMembership",
"name": "GroupMembership"
}
}
}