Player
Enable a player's account. The response will be JSON.
Replaces the Player resource.
put/players/{id}/enable/{token}
Request
- Base URL: https://api.spash.com
- URL: https://api.spash.com/players/{id}/enable/{token}
- Auth: one of:
- API key in header Authorization
- HTTP bearer
Path parameters
idstring required
Player identifier
Request body
Example request
{
"newsletterEnabled": true,
"language": "en",
"gender": "M",
"scope": "public",
"favoriteSportCenter": "https://example.com/",
"image": "https://example.com/",
"tags": [
"https://example.com/"
],
"playerSportCenters": [
"https://example.com/"
]
}Response
Account enabled.
Changes
No recorded changes to this operation across all 1 revision of this API.