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

emailAddress

text

No

(unchanged)

Send it only to change the address. Same rules as on Add one person.

role

choice

No

(unchanged)

PROCUREMENT_MANAGER, ADMIN, CONSTRUCTION_MANAGER, FOREMEN or GUEST. Underscores, not spaces. Ignored when customRoleId is sent.

customRoleId

text

No

(unchanged)

One of your own roles; wins over role. An id CATHAGO cannot find is ignored without any error. In the bulk call the same field is called customCompanyAccountRoleId.

contactPerson

object

No

(unchanged)

Name and telephone numbers, all optional: fullName, contactNumber, alternateContactNumber. Only the fields inside it change.

tenants

list

No

empty list

Replaces everything. See the warning below.

tenants[].tenantId

text

Yes, in an entry

none

Id of the tenant. Missing or unknown fails the call with 406.

tenants[].allProjects

true/false

No

true

true gives every project of that tenant. false gives the tenant with no project.

disable

true/false

No

false

true sets memberStatus to DISABLED and switches off the login. false does nothing.

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

id

The person's id, the memberId for the other calls.

emailAddress

Their email address.

role

An object: roleName (spaced display name, e.g. CONSTRUCTION MANAGER) and roleType (SYSTEM_DEFINED or USER_DEFINED).

invitationSentDate

Last invitation, e.g. 2026-05-15T09:14:32.000Z. Empty if never.

contactPerson

id, fullName, emailAddress, contactNumber, alternateContactNumber.

memberStatus

PENDING, ACTIVE or DISABLED.

username

Their login name, once they have created their account.

tenants

One per assignment: id, memberId, allProjects, tenant.

Common mistakes

What you see

Why

What to do

The person lost all their tenants

tenants was left out, which counts as an empty list, and the replace ran anyway.

Always send the complete tenants list.

406 and Cannot change member role or disable member! There must be at least one ACTIVE Procurement Manager!

You tried to change the role of, or disable, the last active PROCUREMENT_MANAGER.

Give somebody else that role first, then repeat.

The role did not change and there was no error

customRoleId held an id CATHAGO could not find.

Check the role id, or use role with one of the five values.

406 and ...already exists!

The new emailAddress is already used, possibly in another company account.

Pick a different address.

406 and Member with :... not found!

The memberId in the address does not exist.

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

HTTP
PATCH https://api.cathago.de/api/gateways/integration/members/:memberId?companyAccountId=<companyAccountId>

Beispielaufruf

Terminal
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

JSON
{
    "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

JSON
{
  "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
        }
      }
    }
  ]
}