v1

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

Retrieve an account roles

Retrieve an account roles in the current gym for given accountId

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

Path parameters

accountIdstring required

Response

Ok

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.