v1

latestOpenAPI 3.1.02026-08-064323122.5 KB
Member Account Roles
Member Account

Set an account roles

Update an account roles using accountId.

post/api/v2/accounts/{accountId}/roles

Path parameters

accountIdstring required

Request body

trainerboolean

If trainer is true, assign trainer right for account, otherwise remove trainer rights.

gymOwnerboolean

If gymOwner is true, assign gymOwner right for account, otherwise remove gymOwner rights.

Response

No Content