Unlock Team
Unlock an ER:LC team.
POST https://api.sonorancms.com/v2/community/erlc/teams/unlock
Rate limit:
18 requests per minute
Authenticated v2 endpoints are rate limited per credential rather than per IP address.
Unlock an ER:LC team.
Request Body
| Name | Type | Required | Description |
| --- | --- | --- | --- |
| robloxJoinCode | string | Yes | See example request for the shape. |
| team | string | Yes | See example request for the shape. |
Example Request
local Sonoran = require("sonoran")
local sonoran = Sonoran.createClient({
product = Sonoran.productEnums.CMS,
apiKey = "YOUR_API_KEY",
communityId = "YOUR_COMMUNITY_ID",
defaultServerId = 1,
timeoutMs = 30000,
})
local payload = {
["robloxJoinCode"] = "ABC123",
["team"] = "Police"
}
local response = sonoran.cms:unlockTeamV2(payload)
if response.success then
print(response.data)
else
print(response.reason)
endResponse
The data value is a confirmation string. The exact wording changes for lock and unlock, but both endpoints return a string rather than a structured object.
Last updated
Was this helpful?

