Skip to main content
DELETE
/
lobbies
/
{id}
Delete a lobby (host or admin only), scoped to a lobby configuration
curl --request DELETE \
  --url https://backend.computeflow.cloud/lobbies/{id} \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "playerId": "user123"
}
'

Authorizations

api-key
string
header
required

Headers

api-key
string
required

API key for authentication

client-auth-token
string

Optional client authentication token for player validation

Path Parameters

id
string
required

Lobby ID

Query Parameters

name
string
required

Name of the lobby configuration this lobby belongs to

Body

application/json
playerId
string
required

ID of the player performing the action (required for validation)

Example:

"user123"

Response

The lobby has been successfully deleted