Skip to main content
PATCH
Update a role group

Authorizations

Api-Token
string
header
required

Server-to-server authentication. Generate a token in the admin UI at Settings → Developers → API Access. Send the raw token in the Api-Token header — there is no Bearer prefix.

Tokens can be marked read-only at creation time, in which case the API rejects any non-GET request with 403 Forbidden.

Path Parameters

id
string
required

RoleGroup identifier

Body

application/merge-patch+json

The updated RoleGroup resource

gender
string | null
minAge
integer | null
maxAge
integer | null
onlyFullMember
boolean | null
region
string<iri-reference> | null
Example:

"/api/v1/regions/1"

name
string
status
string | null
localCenter
object | null
emoji
string | null

Response

RoleGroup resource updated

gender
string | null
minAge
integer | null
maxAge
integer | null
onlyFullMember
boolean | null
region
string<iri-reference> | null
Example:

"/api/v1/regions/1"

id
integer
read-only
name
string
logo
string | null
unitType
string<iri-reference> | null
Example:

"/api/v1/unit_types/1"

status
string | null
unitRoles
object[]
localCenter
object | null
isRoleGroup
boolean | null
unitIndustries
object[]
activeMemberCount
integer
emoji
string | null