Skip to main content
POST
Set tournament simulator access

Authorizations

Authorization
string
header
required

Bearer token issued by Softmax

Path Parameters

league_id
string
required

League whose simulator visibility should be changed.

Pattern: ^league_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Body

application/json
visibility
enum<string>
required

Who may use the league's tournament simulator.

Available options:
owner,
participants

Response

Successful Response

allowed
boolean
required

Whether the caller may use the tournament simulator for this league.

is_owner
boolean
required

Whether the caller owns the league.

visibility
enum<string>
required

League setting that controls simulator access.

Available options:
owner,
participants