/group-role
An premium membership plan for the workspace is required to use this endpoint!
Authorizations
Body
userIdnumberRequired
Roblox User ID
groupIdnumberRequired
Roblox Group ID
rankIdnumberRequired
Roblox Rank ID (1-255) not Role ID.
Responses
200
User was ranked
application/json
402
Workspace does not have Tier 2 (Premium) membership or higher.
application/json
500
An error occured while communicating with Roblox.com to change rank.
This usually happens as either;
* Roblox is down
* Your Roblox Open Cloud API key cannot access that Group
* You did not link an Roblox Open Cloud API key
* Your Roblox Open Cloud API key is expired
application/json
patch
PATCH /api/v1/group-role HTTP/1.1
Host: sentinel.metatable.dev
Authorization: Bearer BearerJwt
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"userId": 1,
"groupId": 1,
"rankId": 1
}
{
"status": "ok"
}
Last updated
Was this helpful?