Demote User
Demote a Roblox user by one rank in the group.
Header Parameters
x-api-key*string
Your workspace API key.
Request Body
application/json
userId*integer
The Roblox user ID to rank.
reason?string
Optional reason for the rank change.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.rankgun.works/api/roblox/demote" \ -H "x-api-key: string" \ -H "Content-Type: application/json" \ -d '{ "userId": 123456789, "reason": "Passed training" }'{
"success": true,
"oldRank": 0,
"newRank": 0,
"username": "string"
}{
"success": false,
"error": "string"
}{
"success": false,
"error": "string"
}{
"success": false,
"error": "string"
}{
"success": false,
"error": "string"
}{
"success": false,
"error": "string"
}Was this page helpful?