Skip to main content
PUT
Grant an API token account-wide access

Authorizations

X-Auth-Token
string
header
required

FlowPayroll JWT (raw token, no Bearer prefix)

Path Parameters

clientId
string
required

Body

application/json

The role to give with one grant. The whole body is optional.

roleId
string | null

Leave it out to keep the role they already hold there, or, when they had no access there before, to give your account's default role (GET /customer/access-settings; administrator while your account cannot give roles yet).

Response

OK

message
object
content
object
validationIssues
object[] | null