DELETE /teams/:teamId/lock
Description
Unlock a team. Unlocking a previously locked team allows new members to join the team again.
The player must have the required roles granting the permission to lock/unlock the team.
Resource URL
https://api.playlyfe.com/teams/:teamId/lock
Method
DELETE
Scopes
player, game, debug
Location | Parameter Name | Default Value | Description |
---|---|---|---|
Query | teamId | The team ID |
Example
Request
DELETE https://api.playlyfe.com/teams/globe-trotters/lock
Response
{ "id": "globe-trotters", "name": "The Globe Trotters", "definition": "basketball_team", "created": "2013-11-10T16:45:10.570Z", "version": 1, "access": "PROTECTED", "owner": "clone", "locked": false, "member_count": { "member": 0, "admin": 0, "super_admin": 0, "owner": 1 }, "total_members": 1 }