Skip to main content
POST
Grant a per-account permission (admin, direct)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Permission grant payload.

GrantPermissionPayload schema.

user_id
string
required

User identifier.

account_code
string
required

Account code used by administration and mapping records.

level
enum<string>
required

Permission level.

Available options:
VIEW,
TRADE,
ADMIN

Response

200 - application/json

OK

Grant schema.

user_id
string

User identifier.

account_code
string

Account code used by administration and mapping records.

level
enum<string>

Permission level.

Available options:
VIEW,
TRADE,
ADMIN
granted_by
string

User that granted the permission.

created_at
string<date-time>

Timestamp when the record was created.

updated_at
string<date-time>

Timestamp when the record was last updated.