Skip to main content
PATCH
Change one of your own roles

Authorizations

X-Auth-Token
string
header
required

FlowPayroll JWT (raw token, no Bearer prefix)

Path Parameters

roleId
string
required

Body

A JSON Merge Patch (RFC 7396) of one of your own roles: leave a field out to keep it, send null to clear the description. Everyone who holds the role gets the change at once.

name
string

2 to 60 characters.

description
string | null

Up to 300 characters. null clears it.

permissions
string[]

The whole new list, replacing the old one.

Response

OK

message
object
content
object
validationIssues
object[] | null