Skip to main content
PUT
Replace the organisations an API token reaches

Authorizations

X-Auth-Token
string
header
required

FlowPayroll JWT (raw token, no Bearer prefix)

Path Parameters

clientId
string
required

Body

application/json

Replaces which organisations the token reaches through direct grants. An empty list is refused: revoke the token instead.

organisationIds
string[] | null

The complete set of organisations the token reaches afterwards.

roleId
string | null

The role to give, such as payroll-manager or one of your own (custom.hr-team); see GET /roles. Leave it out to give your account's default role (GET /customer/access-settings); while your account cannot give roles yet, that is administrator. An API token whose account's default role is for people only must name one.

Response

OK

message
object
content
object
validationIssues
object[] | null