Requires Premium or Enterprise subscription
Overview
Sets a user’s rank to a specific rank number in the linked Roblox group. This allows jumping multiple ranks at once, unlike promote/demote which move one rank at a time. The user does not need to be a workspace member - they only need to be a member of the Roblox group.
For workspace members:
Action is logged to ranking history, audit log, and disciplinary records
Workspace member data is updated
Both promotion and demotion suggestions are cleared
For non-workspace members (group members only):
Action is logged to ranking history and audit log only
No disciplinary record is created
All logs indicate the action was performed via API
Path Parameters
The Roblox user ID to set rank for
Target rank number (0-255). Must correspond to an existing role in the workspace.
Request Body
Optional reason/comment for the rank change. This will be logged in ranking history and disciplinary records.
Response
Whether the request was successful
The Roblox user ID whose rank was changed
The action performed (set-rank)
The user’s previous rank number
The user’s previous role name
The user’s new rank number
Example
cURL
TypeScript
Lua (Roblox)
Python
curl -X POST https://api.series.hr/ranking/set-rank/714760171/50 \
-H "apikey: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"comment": "Reinstated to previous rank"}'
Response Example
{
"success" : true ,
"data" : {
"UserId" : "714760171" ,
"Action" : "set-rank" ,
"PreviousRank" : 5 ,
"PreviousRole" : "Trainee" ,
"NewRank" : 50 ,
"NewRole" : "Senior Staff" ,
"WorkspaceId" : "a7d5339a-5531-4336-99c6-6f3249c9ac20"
}
}
Error Responses
400 - Invalid Rank Number
{
"success" : false ,
"error" : {
"code" : 400 ,
"message" : "Validation error: RankNumber must be a valid integer between 0 and 255"
}
}
{
"success" : false ,
"error" : {
"code" : 400 ,
"message" : "Validation error: User is already at the specified rank"
}
}
400 - Rank Limit Exceeded
{
"success" : false ,
"error" : {
"code" : 400 ,
"message" : "Cannot set rank beyond 100 (Max. Promotion Rank limit)"
}
}
{
"success" : false ,
"error" : {
"code" : 403 ,
"message" : "Ranking management requires a Premium or Enterprise subscription"
}
}
{
"success" : false ,
"error" : {
"code" : 404 ,
"message" : "User is not a member of this workspace"
}
}
{
"success" : false ,
"error" : {
"code" : 404 ,
"message" : "Role with rank 50 not found in workspace"
}
}
{
"success" : false ,
"error" : {
"code" : 429 ,
"message" : "Rate limit exceeded for ranking endpoints: 50 requests per second."
}
}
Side Effects
When a user’s rank is set, the following actions occur automatically:
Roblox Group Update - User’s rank in the Roblox group is updated
Workspace Data Update - User’s CurrentRank and CurrentRole are updated
Ranking History - Entry logged with timestamp, author, and comment
Disciplinary Log - Record added to user’s disciplinary file
Suggestions Cleared - All pending ranking suggestions (both promotion and demotion) for the user are removed
Rank Limits
When setting a rank higher than the user’s current rank, the following limits apply:
Max Promotion Rank - Cannot set rank higher than this value
Max Auto-Ranking Rank - Cannot set rank higher than this value
These limits are configured in the workspace settings.
Use Cases
Reinstatement - Restore a user to their previous rank after a temporary demotion
Bulk Adjustments - Quickly adjust ranks during restructuring
Administrative Actions - Set exact ranks for special circumstances
Onboarding - Set new members to a specific starting rank
Rate Limit
50 requests per second per API keyPass your API key in the apikey header. Alternatively, the x-api-key header is also accepted.
Target rank number (0-255)
Required range: 0 <= x <= 255
Optional reason/comment for the rank change