Update an existing banca. Only accessible by ADMIN role.
cURL
curl --request PATCH \ --url https://api.example.com/api/v1/bancas/:id \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "code": "<string>", "email": "<string>", "address": "<string>", "phone": "<string>", "isActive": true, "defaultMinBet": 123, "globalMaxPerNumber": 123, "salesCutoffMinutes": 123 } '
{ "success": true, "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Banca Central Updated", "code": "BC001", "email": "[email protected]", "address": "456 New Address", "phone": "+1-234-567-8901", "isActive": true, "defaultMinBet": 150, "globalMaxPerNumber": 7500, "salesCutoffMinutes": 2, "createdAt": "2024-03-15T10:30:00Z", "updatedAt": "2024-03-15T14:20:00Z" } }
Show Banca object