Skip to main content
POST
/
players
/
{playerId}
/
responsible-gaming
/
self-exclusion
Set self-exclusion for player
curl --request POST \
  --url https://mock-api.cevro.ai/v1/players/{playerId}/responsible-gaming/self-exclusion \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Session-ID: <x-session-id>' \
  --data '
{
  "type": "cooloff",
  "reason": "<string>",
  "duration_days": 123
}
'

Authorizations

Authorization
string
header
required

API Bearer token. For this demo, any non-empty string is accepted.

Headers

X-Session-ID
string
required

Path Parameters

playerId
string
required

Body

application/json
type
enum<string>
required
Available options:
cooloff,
timeout,
self_exclusion,
permanent
reason
string
required
duration_days
integer

Duration in days (not required for permanent)

Response

Self-exclusion applied