cURL
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 } '
Apply a self-exclusion period to the player’s account. This is typically irreversible for the duration.
API Bearer token. For this demo, any non-empty string is accepted.
cooloff
timeout
self_exclusion
permanent
Duration in days (not required for permanent)
Self-exclusion applied