Loading the API reference…

Browse the API reference

POST /accounts/{accountId}/permissions/{accessType}/{entityType}/{entityId}

post https://trading-gateway-api.prod.thinkalpha.io/accounts/{accountId}/permissions/{accessType}/{entityType}/{entityId}
Authentication
Bearer token or Client credentials (HTTP Basic)

Path parameters

  • accountId string required

    The ID of the account to update permissions for.

  • accessType PermissionSetType required

    The plural row name of a permission set, as the permission routes take it in the path: `readers`, `writers`, `owners` or `admins`.

  • entityType AccessSourceType required
    one of "firm", "firm-membership", "group", "user", "special", "subscription", "plan"
  • entityId string required

    The ID of the entity to update permissions for.

Request body application/json required

Request body for creating a single typed permission directive.

  • deny boolean required

Responses

One of