Skip to main content
PATCH
Update user roles

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

User identifier

Body

application/merge-patch+json

The updated User resource

firstName
string | null
Maximum string length: 255
lastName
string | null
Maximum string length: 255
newEmailRequested
string<email> | null
status
string
dateBirth
string<date-time> | null
gender
string | null
townFrom
string<iri-reference> | null
Example:

"/api/v1/towns/1"

plainPassword
string
tenant
string<iri-reference> | null
Example:

"/api/v1/tenants/1"

timezone
string | null
townCurrent
string<iri-reference> | null
Example:

"/api/v1/towns/1"

mapLatitude
string | null
mapLongitude
string | null
mapPlaceName
string | null
mainRole
string<iri-reference> | null
Example:

"/api/v1/user_roles/1"

phoneNumber
string | null
profileWebsite
string | null
profileFacebook
string | null
profileTwitter
string | null
profileBsky
string | null
profileSignal
string | null
profileLinkedin
string | null
profileInstagram
string | null
profileTelegram
string | null
professionIndustry
string<iri-reference> | null
Example:

"/api/v1/profession_types/1"

professionHeadline
string | null
isFollowGeneralUnit
boolean | null
default:true
feeLocalProductPrice
string<iri-reference> | null
Example:

"/api/v1/product_prices/1"

feeTenantProductPrice
string<iri-reference> | null
Example:

"/api/v1/product_prices/1"

language
string | null
bio
string | null
postalCode
string | null
address
string | null
phoneCountry
string | null
educationStatus
string | null
professionJob
string<iri-reference> | null
Example:

"/api/v1/profession_jobs/1"

professionExpertise
string<iri-reference> | null
Example:

"/api/v1/profession_jobs/1"

professionSector
string | null
professionExpertiseOther
string | null
privacy
object | null
notificationSettings
(string | null)[] | null
isSubscribedNewsletter
boolean | null
isSubscribedPush
boolean | null
isSubscribedDiscussion
integer | null
isSubscribedEvent
boolean | null
isSubscribedComment
boolean | null
isSubscribedIssue
boolean | null
isSubscribedVote
boolean | null
isSubscribedTag
boolean | null
professionOrganisation
string | null
professionOrganisationWebsite
string | null
professionOrganisationRole
string | null
companyIdentifier
string | null
companyName
string | null
companyAddress
string | null
companyRegNo
string | null
mfaEnabled
boolean | null
profileTiktok
string | null

Response

User resource updated

id
integer
read-only
firstName
string | null
Maximum string length: 255
lastName
string | null
Maximum string length: 255
email
string<email> | null
newEmailRequested
string<email> | null
status
string
dateBirth
string<date-time> | null
gender
string | null
dateUpdated
string<date-time>
read-only
dateCreated
string<date-time>
read-only
localCenter
object | null
localCenterParent
object | null
townFrom
object | null
type
object | null
userRoles
object[]
age
integer | null
read-only
fullName
string
read-only
isFeeActive
boolean
read-only
isExpiredValidFeeDate
boolean
read-only
isActive
boolean | null
default:true
read-only
accountType
string | null
default:self-managed
timezone
string | null
customFieldValues
object[]
townCurrent
object | null
mapLatitude
string | null
mapLongitude
string | null
mapPlaceName
string | null
mainRole
object | null
logo
string | null
phoneNumber
string | null
profileWebsite
string | null
profileFacebook
string | null
profileTwitter
string | null
profileBsky
string | null
profileSignal
string | null
profileLinkedin
string | null
profileInstagram
string | null
profileTelegram
string | null
dateJoined
string<date-time> | null
familyNth
isFullMember
boolean | null
importInfo
(string | null)[] | null
isTrainer
boolean | null
cardId
string | null
professionIndustry
object | null
professionHeadline
string | null
validFeeDate
string<date-time> | null
validLocalFeeDate
string<date-time> | null
lastCardPrintedDate
string<date-time> | null
feeLocalProductPrice
object | null
feeTenantProductPrice
object | null
language
string | null
isSupporter
boolean | null
adhesion
object | null
bio
string | null
postalCode
string | null
address
string | null
phoneCountry
string | null
phoneLocalNumber
string | null
read-only
dateJoinedFullMember
string<date-time> | null
educationStatus
string | null
educationPhd
object | null
educationMaster
object | null
educationUniversity
object | null
professionJob
object | null
professionExpertise
object | null
professionSector
string | null
professionExpertiseOther
string | null
isRegisterAsMember
boolean | null
professionOrganisation
string | null
professionOrganisationWebsite
string | null
professionOrganisationRole
string | null
companyIdentifier
string | null
companyName
string | null
companyAddress
string | null
companyRegNo
string | null
isExpiredValidLocalFeeDate
boolean
read-only
isLocalFeeActive
boolean
read-only
profileTiktok
string | null