What this call does
Changes one person: their role, their name and telephone numbers, their email address, which tenants they work in, and whether they are disabled.
Last updated: 15.05.2026
What you need first
A valid API key in the API-Key header, your companyAccountId, and the person's memberId. If you touch tenants at all, you need the complete list of tenants they should end up with.
The address is PATCH /members/:memberId. Send only the fields you want to change, with the one large exception of tenants, below.
Parameters
companyAccountId, required, in the address line. memberId, required, in the address itself in place of :memberId.
The fields
Nothing is required. An omitted field is left alone, except tenants.
Field | Type | Required | Default | Meaning |
|---|---|---|---|---|
| text | No | (unchanged) | Send it only to change the address. Same rules as on Add one person. |
| choice | No | (unchanged) |
|
| text | No | (unchanged) | One of your own roles; wins over |
| object | No | (unchanged) | Name and telephone numbers, all optional: |
| list | No | empty list | Replaces everything. See the warning below. |
| text | Yes, in an entry | none | Id of the tenant. Missing or unknown fails the call with |
| true/false | No |
|
|
| true/false | No |
|
|
tenants replaces, it does not add. Every tenant assignment the person has is removed and exactly what you sent is put back, so leaving tenants out strips them of all their tenants. Send their full current list even when you are only changing a telephone number; read it first with Look up one person.
Blanks cannot be cleared. "contactNumber": null leaves the old value. sendInvite is not a field here either, send it and it is quietly dropped.
What you get back
200 OK and the person as they now stand.
Field | Meaning |
|---|---|
| The person's id, the |
| Their email address. |
| An object: |
| Last invitation, e.g. |
|
|
|
|
| Their login name, once they have created their account. |
| One per assignment: |
Common mistakes
What you see | Why | What to do |
|---|---|---|
The person lost all their tenants |
| Always send the complete |
| You tried to change the role of, or disable, the last active | Give somebody else that role first, then repeat. |
The role did not change and there was no error |
| Check the role id, or use |
| The new | Pick a different address. |
| The | Check it with List all staff. |
What we could not confirm
- How to re-enable a disabled person. Nothing in these seven calls does it.
Adresse
PATCH https://api.cathago.de/api/gateways/integration/members/:memberId?companyAccountId=<companyAccountId>Beispielaufruf
curl -X PATCH 'https://api.cathago.de/api/gateways/integration/members/:memberId?companyAccountId=<companyAccountId>' \
-H 'API-Key: <Ihr API-Schlüssel>' \
-H 'Content-Type: application/json' \
-d '{
"emailAddress": "sharif.malik@cathago.de",
"role": "PROCUREMENT_MANAGER",
"contactPerson": {
"fullName": "Sharif Malik",
"contactNumber": "+49 341 5551099",
"alternateContactNumber": "+49 170 8340155"
},
"tenants": [
{
"allProjects": true,
"tenantId": "C3125110678675695"
},
{
"allProjects": false,
"tenantId": "C3125110678675702"
}
],
"disable": false
}'Beispiel für den Body
{
"emailAddress": "sharif.malik@cathago.de", // Optional. Send it only to change the address
"role": "PROCUREMENT_MANAGER", // Optional. Underscores, never spaces. Ignored when customRoleId is sent
"contactPerson": { // Optional. Only the fields inside it change; blanks are skipped
"fullName": "Sharif Malik", // Optional. First and last name
"contactNumber": "+49 341 5551099", // Optional. Main telephone number - here the new extension
"alternateContactNumber": "+49 170 8340155" // Optional. Second number, usually a mobile
},
"tenants": [ // REPLACES every tenant assignment. Leaving it out strips them all
{
"allProjects": true, // Optional, default true. Grants every project of that tenant
"tenantId": "C3125110678675695" // Required in an entry. Id of the tenant
},
{ // Second entry - same fields as above
"allProjects": false,
"tenantId": "C3125110678675702"
}
],
"disable": false // Optional, default false. true disables the login. false does nothing
}Beispielantworten
OK
Status: 200 OK
{
"id": "", // Unique Identifier for the member
"emailAddress": "", // email address
"role": {
"roleName": "", // Technical role name (e.g., PROCUREMENT MANAGER ||ADMIN ||CONSTRUCTION MANAGER ||FOREMEN ||GUEST)
"roleType": "" // Role category: SYSTEM_DEFINED || CUSTOM
},
"invitationSentDate": "", // Timestamp of the sent invitation (YYYY-MM-DD HH:mm:ss)
"contactPerson": {
"id": "", // Unique Identifier for the contact
"fullName": "", // Full name of the invited user
"emailAddress": "", // Primary contact email
"contactNumber": "", // Primary phone number
"alternateContactNumber": "" // Secondary phone number
},
"memberStatus": "", // Current status: PENDING || ACTIVE || DISABLED
"username": "", // username
"tenants": [
{
"id": "", // Mapping ID between Member and Tenant
"memberId": "", // Member ID
"allProjects": false, // Boolean: If true, user has access to every project in the tenant
"tenant": {
"id": "", // Unique Tenant Identifier
"taxId": "", // Tenant tax registration number
"companyId": "", // Reference companyAccount Id
"companyName": "", // Display name of the organization
"mandant": "", // Client/Mandant code for ERP identification
"description": "", // Brief tenant profile description
"logoUrl": "", // URL string for the company logo asset
"addressOutDto": {
"id": "", // Unique Address record identifier
"addressLineOne": "", // Primary street address
"addressLineTwo": "", // Building/Floor details
"city": "", // City name
"country": "", // Country name
"zipcode": "", // Postal/Zip code
"comments": "", // location notes
"mapLink": "", // External link to geographic map (e.g., Google Maps)
"region": "" // State, Province, or District
}
}
}
]
}