> ## Documentation Index
> Fetch the complete documentation index at: https://developer.findity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update partner user

> Changes a user of a partner and returns it in the same shape as `GET /partners/{partnerId}/users/{userId}`. Only the properties in the body are changed: a property that is left out keeps its value, and `null` clears an optional property. Everything is checked before anything is changed.

`email` can't be changed: the email address is the user's login. It is accepted when it equals the user's current email address. `administratorOrganizations` and `consultantOrganizations` replace the user's links of that kind to the partner's organizations; employments are never changed. The user must stay linked to the partner, so a change that removes every link is rejected; use DELETE to remove a user. No invitation is sent.

The name, `externalSourceId`, mobile phone and language belong to the person behind the user, and the partner role (manager or support) belongs to the user's account. When that person is also linked to another partner or its organizations, or employed outside the partner, they can't be changed through this partner; values sent unchanged are accepted.

Only a caller with a role above partner support may give a user the partner manager role, by `supportRole: false` or by making a user a partner administrator without `supportRole: true`, or change a user who already has the partner manager role in any way: its name, `externalSourceId`, mobile phone or language, its organization links, its partner role, or removing it as partner administrator. A partner support caller gets 403 for all of these, also for itself. Sending `supportRole: false` for a user who already has the partner manager role is not a change on its own.

Returns 403 "Partner not found or access denied" when the partner does not exist, is deleted, or the caller may not administer it (also for a token scoped to a single organization), and 403 "User not found or access denied" when the user is not one of the partner's users (unknown, deleted, or not linked to this partner). These 403 responses have no `code`, so a missing and an inaccessible id look the same. The partner is checked before the request body. Returns 404 `ORGANIZATION_NOT_FOUND` when an organization in the body is not one of the partner's live organizations.




## OpenAPI

````yaml /openapi/findity-admin-api.json put /partners/{partnerId}/users/{userId}
openapi: 3.1.0
info:
  title: Findity Admin API
  description: Findity Admin API
  version: 1.0.0
servers:
  - url: https://stage-api.findity.com/api/v1/admin
  - url: https://api.findity.com/api/v1/admin
security:
  - bearerAuth: []
paths:
  /partners/{partnerId}/users/{userId}:
    put:
      tags:
        - Partners
      summary: Update partner user
      description: >
        Changes a user of a partner and returns it in the same shape as `GET
        /partners/{partnerId}/users/{userId}`. Only the properties in the body
        are changed: a property that is left out keeps its value, and `null`
        clears an optional property. Everything is checked before anything is
        changed.


        `email` can't be changed: the email address is the user's login. It is
        accepted when it equals the user's current email address.
        `administratorOrganizations` and `consultantOrganizations` replace the
        user's links of that kind to the partner's organizations; employments
        are never changed. The user must stay linked to the partner, so a change
        that removes every link is rejected; use DELETE to remove a user. No
        invitation is sent.


        The name, `externalSourceId`, mobile phone and language belong to the
        person behind the user, and the partner role (manager or support)
        belongs to the user's account. When that person is also linked to
        another partner or its organizations, or employed outside the partner,
        they can't be changed through this partner; values sent unchanged are
        accepted.


        Only a caller with a role above partner support may give a user the
        partner manager role, by `supportRole: false` or by making a user a
        partner administrator without `supportRole: true`, or change a user who
        already has the partner manager role in any way: its name,
        `externalSourceId`, mobile phone or language, its organization links,
        its partner role, or removing it as partner administrator. A partner
        support caller gets 403 for all of these, also for itself. Sending
        `supportRole: false` for a user who already has the partner manager role
        is not a change on its own.


        Returns 403 "Partner not found or access denied" when the partner does
        not exist, is deleted, or the caller may not administer it (also for a
        token scoped to a single organization), and 403 "User not found or
        access denied" when the user is not one of the partner's users (unknown,
        deleted, or not linked to this partner). These 403 responses have no
        `code`, so a missing and an inaccessible id look the same. The partner
        is checked before the request body. Returns 404 `ORGANIZATION_NOT_FOUND`
        when an organization in the body is not one of the partner's live
        organizations.
      operationId: adminUpdatePartnerUser
      parameters:
        - name: partnerId
          in: path
          required: true
          description: >
            String, required. The ID of the partner (32-character hex string),
            as returned in the `id` field of the partner endpoints. Lookup by
            `externalSourceId` is not supported for partners.
          schema:
            $ref: '#/components/schemas/Uuid'
          example: 6aeb86c4fb154c46b2b5a1977245ac67
        - name: userId
          in: path
          required: true
          description: >
            String, required. The user's internal ID (32-character hex string)
            or its `externalSourceId` (supports externalId). When a user's
            internal ID and another user's `externalSourceId` are the same
            value, the internal ID takes precedence.
          schema:
            type: string
            example: 8a66aa549e6a3672019e73b79f8e1a7f
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartnerUserPutRequest'
            example:
              lastName: Konsultsson
              mobilePhone: '+46700000002'
              isPartnerAdministrator: true
              supportRole: true
              consultantOrganizations:
                - 5c1e7a2f9b8d4e6a8c3f2d1b0a9e8f7c
      responses:
        '200':
          description: OK — returns the updated user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerUser'
              example:
                id: 8a66aa549e6a3672019e73b79f8e1a7f
                externalSourceId: consultant-1
                firstName: Klara
                lastName: Konsultsson
                email: klara.konsult@example.com
                mobilePhone: '+46700000002'
                language: sv_SE
                lastInvitationDate: '2026-10-20T09:12:04Z'
                invite: false
                isPartnerAdministrator: true
                supportRole: true
                dateCreated: '2026-10-20T09:12:04Z'
                administratorOrganizations:
                  - id: 11adfe2a080040e3892ffb89c21ec44e
                    externalSourceId: null
                    name: Alpha AB
                consultantOrganizations:
                  - id: 5c1e7a2f9b8d4e6a8c3f2d1b0a9e8f7c
                    externalSourceId: beta-ext-1
                    name: Beta AB
                employeeOrganizations: []
        '400':
          description: Bad request — the request body is invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400Error'
              examples:
                Invalid JSON body:
                  description: >-
                    The body isn't valid JSON, or a property has the wrong type
                    (e.g. an organization given as an object instead of a
                    string, which unlike the create endpoint this endpoint does
                    not accept)
                  value:
                    result: error
                    code: INVALID_JSON_BODY
                    description: Could not parse JSON content.
                No known properties:
                  value:
                    result: error
                    code: NO_KNOWN_JSON_PROPERTIES
                    description: No known, or only read-only properties received
                Empty name:
                  value:
                    result: error
                    code: INVALID_JSON_PROPERTY_VALUE
                    description: firstName is required
                Email changed:
                  value:
                    result: error
                    code: INVALID_JSON_PROPERTY_VALUE
                    description: email can't be changed
                Flag set to null:
                  value:
                    result: error
                    code: INVALID_JSON_PROPERTY_VALUE
                    description: isPartnerAdministrator can't be null
                Not linked to the partner:
                  value:
                    result: error
                    code: INVALID_JSON_PROPERTY_VALUE
                    description: >-
                      A partner user must be a partner administrator, or an
                      administrator or consultant of at least one organization
                Support role without partner administrator:
                  value:
                    result: error
                    code: INVALID_JSON_PROPERTY_VALUE
                    description: supportRole can only be set for a partner administrator
                Person data shared outside the partner:
                  value:
                    result: error
                    code: INVALID_JSON_PROPERTY_VALUE
                    description: >-
                      The user is also linked outside the partner, so firstName,
                      mobilePhone can't be changed
                Partner role shared outside the partner:
                  value:
                    result: error
                    code: INVALID_JSON_PROPERTY_VALUE
                    description: >-
                      The user is also linked outside the partner, so
                      supportRole can't be changed
                Verified mobile phone:
                  value:
                    result: error
                    code: INVALID_JSON_PROPERTY_VALUE
                    description: mobilePhone is verified by the user and can't be changed
                Property too long:
                  value:
                    result: error
                    code: FIELD_EXCEEDS_MAX_LENGTH
                    description: lastName exceeds maximum length of 255 characters.
                Invalid phone number:
                  value:
                    result: error
                    code: INVALID_PHONE_NUMBER
                    description: Invalid phone number.
                Phone number already used:
                  value:
                    result: error
                    code: PHONE_NUMBER_ALREADY_USED
                    description: The phone number is already in use.
                Unknown language:
                  value:
                    result: error
                    code: INVALID_LANGUAGE
                    description: 'Unknown language: xx_XX'
                externalSourceId already used:
                  description: >-
                    Another user in the client application already uses the
                    externalSourceId
                  value:
                    result: error
                    code: EMPLOYEE_ALREADY_EXISTS
                    description: The employee ID already exists.
        '403':
          description: >
            Forbidden — the partner does not exist or is not accessible, the
            user is not one of the partner's users, or a partner support caller
            tries to give the partner manager role or to change a user who has
            it
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403Error'
              examples:
                Partner manager role not allowed:
                  value:
                    result: error
                    description: Not allowed to grant the partner manager role
                Partner not found or access denied:
                  value:
                    result: error
                    description: Partner not found or access denied
                User not found or access denied:
                  value:
                    result: error
                    description: User not found or access denied
        '404':
          description: >
            Not found — an organization in `administratorOrganizations` or
            `consultantOrganizations` is not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404Error'
              examples:
                Organization not found:
                  description: >-
                    An organization that doesn't exist, is deleted, or belongs
                    to another partner
                  value:
                    result: error
                    code: ORGANIZATION_NOT_FOUND
                    description: >-
                      Organization not found in consultantOrganizations:
                      beta-ext-1
components:
  schemas:
    Uuid:
      type: string
      pattern: ^[0-9a-fA-F]{32}$
      description: UUID without dashes (32-character hex string)
    PartnerUserPutRequest:
      type: object
      minProperties: 1
      required: []
      description: >
        The properties of a partner user to change. Only the properties in the
        body are changed: a property that is left out keeps its value, and
        `null` clears an optional property. String properties are trimmed, and
        may be at most 255 characters long. The read-only properties of the
        response (`id`, `lastInvitationDate`, `invite`, `dateCreated`,
        `employeeOrganizations`) are ignored. At least one known property is
        required, otherwise 400 `NO_KNOWN_JSON_PROPERTIES`.


        The user must stay linked to the partner: as an administrator of the
        partner, as an accounting consultant of at least one of its
        organizations, or as an administrator of at least one of its
        organizations the user isn't employed by. A change that removes every
        link answers 400 `INVALID_JSON_PROPERTY_VALUE`; use DELETE to remove a
        user.


        `firstName`, `lastName`, `externalSourceId`, `mobilePhone` and
        `language` belong to the person behind the user, and the partner role
        set by `isPartnerAdministrator` and `supportRole` belongs to the user's
        account. When that person is also employed by, administers or consults
        an organization of another partner, or administers another partner, they
        are shared with someone else and can't be changed here: a changed value
        answers 400 `INVALID_JSON_PROPERTY_VALUE`, while a value sent unchanged
        is accepted.
      properties:
        firstName:
          type: string
          maxLength: 255
          description: >-
            String, optional. The first name of the user. Can't be empty or
            `null`.
        lastName:
          type: string
          maxLength: 255
          description: >-
            String, optional. The last name of the user. Can't be empty or
            `null`.
        email:
          type: string
          format: email
          maxLength: 255
          description: >
            String, optional. Can't be changed: the email address is the user's
            login. Accepted only when it equals the user's current email address
            (case-insensitive), otherwise 400 `INVALID_JSON_PROPERTY_VALUE`.
        externalSourceId:
          type:
            - string
            - 'null'
          maxLength: 255
          description: >
            String, optional. The user's id in an external system. Must not be
            used by another user in the client application, otherwise 400
            `EMPLOYEE_ALREADY_EXISTS`. `null` clears it.
        mobilePhone:
          type:
            - string
            - 'null'
          maxLength: 255
          description: >
            String, optional. The mobile phone number of the user, e.g.
            `+46701234567`; it is stored in international format. Must be a
            valid number that no other user has verified. A number the user has
            verified for signing in can't be changed (400
            `INVALID_JSON_PROPERTY_VALUE`). `null` clears it.
        language:
          type:
            - string
            - 'null'
          maxLength: 255
          description: >-
            String, optional. The user's language as a language variant, e.g.
            `sv_SE` or `en_GB`. `null` clears it.
        isPartnerAdministrator:
          type: boolean
          description: >
            Boolean, optional. True makes the user an administrator of the
            partner, with the partner manager role unless `supportRole` is
            `true`. False removes the user from the partner's administrators and
            its template organizations; the partner roles are then removed too,
            unless the user administers another partner. Can't be `null`.
        supportRole:
          type: boolean
          description: >
            Boolean, optional. True gives a partner administrator the partner
            support role instead of the partner manager role, false the partner
            manager role. Can only be `true` when the user is, or becomes, an
            administrator of the partner. When left out, a partner administrator
            keeps its role. Can't be `null`. Only a caller with a role above
            partner support may give the partner manager role, otherwise 403.
        administratorOrganizations:
          type:
            - array
            - 'null'
          description: >
            Array, optional. The partner's organizations the user administers.
            Each entry is a string holding the organization's internal ID or its
            `externalSourceId` (supports externalId). Unlike the create partner
            user endpoint, organization objects aren't accepted here: an entry
            that isn't a string answers 400 `INVALID_JSON_BODY`. The list
            replaces the user's administrator links to the partner's
            organizations; an empty list or `null` removes them all. Every
            organization must be one of the partner's organizations and not
            deleted, otherwise 404 `ORGANIZATION_NOT_FOUND`. Links to other
            partners' organizations aren't changed.
          items:
            type: string
            description: String. The organization's internal ID or its `externalSourceId`.
            example: beta-ext-1
        consultantOrganizations:
          type:
            - array
            - 'null'
          description: >
            Array, optional. The partner's organizations the user is an
            accounting consultant of. Each entry is a string holding the
            organization's internal ID or its `externalSourceId` (supports
            externalId). Unlike the create partner user endpoint, organization
            objects aren't accepted here: an entry that isn't a string answers
            400 `INVALID_JSON_BODY`. The list replaces the user's consultant
            links to the partner's organizations; an empty list or `null`
            removes them all. Every organization must be one of the partner's
            organizations and not deleted, otherwise 404
            `ORGANIZATION_NOT_FOUND`. Links to other partners' organizations
            aren't changed.
          items:
            type: string
            description: String. The organization's internal ID or its `externalSourceId`.
            example: beta-ext-1
    PartnerUser:
      type: object
      description: >
        A user of a partner. Unlike an organization user it is not employed by
        the partner, so `id` and `externalSourceId` are the person's own. A
        person is a user of the partner when it is an administrator of the
        partner, an accounting consultant of one of the partner's organizations,
        or an administrator of one of the partner's organizations without being
        employed there. Api keys are never returned as users. Every property is
        always present; properties without a value are null.
      properties:
        id:
          $ref: '#/components/schemas/Uuid'
        externalSourceId:
          type:
            - string
            - 'null'
          description: >-
            String. The user's id in an external system, unique within the
            client application. Null when not set.
        firstName:
          type: string
          description: String. The first name of the user.
        lastName:
          type: string
          description: String. The last name of the user.
        email:
          type: string
          format: email
          description: String. The email address of the user.
        mobilePhone:
          type:
            - string
            - 'null'
          description: String. The mobile phone number of the user. Null when not set.
        language:
          type:
            - string
            - 'null'
          description: >-
            String. The user's language as a language variant, e.g. `sv_SE` or
            `en_GB`. Null when not set.
        lastInvitationDate:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            String, ISO-8601 date-time in UTC. When the user was last invited.
            Null when never invited.
        invite:
          type: boolean
          description: >
            Boolean. True when the user's account is pending activation, whether
            or not an invitation was sent; see `lastInvitationDate` for when the
            user was last invited.
        isPartnerAdministrator:
          type: boolean
          description: Boolean. True when the user is an administrator of the partner.
        supportRole:
          type: boolean
          description: >
            Boolean. True when the user is an administrator of the partner and
            has the partner support role; always false when
            `isPartnerAdministrator` is false.
        dateCreated:
          type: string
          format: date-time
          description: String, ISO-8601 date-time in UTC. When the user was created.
        administratorOrganizations:
          type: array
          description: >-
            Array. The partner's organizations the user is an administrator of,
            ordered by name. Empty when none.
          items:
            $ref: '#/components/schemas/PartnerUserOrganization'
        consultantOrganizations:
          type: array
          description: >-
            Array. The partner's organizations the user is an accounting
            consultant of, ordered by name. Empty when none.
          items:
            $ref: '#/components/schemas/PartnerUserOrganization'
        employeeOrganizations:
          type: array
          description: >
            Array. The partner's organizations the user is employed in, ordered
            by name. Empty when none. Employment alone doesn't make a person a
            partner user; the list shows it for users who are also linked in one
            of the ways above.
          items:
            $ref: '#/components/schemas/PartnerUserOrganization'
      required:
        - id
        - externalSourceId
        - firstName
        - lastName
        - email
        - mobilePhone
        - language
        - lastInvitationDate
        - invite
        - isPartnerAdministrator
        - supportRole
        - dateCreated
        - administratorOrganizations
        - consultantOrganizations
        - employeeOrganizations
    400Error:
      type: object
      properties:
        result:
          type: string
        code:
          type: string
        description:
          type: string
    403Error:
      type: object
      properties:
        result:
          type: string
        code:
          type: string
        description:
          type: string
      example:
        result: error
        description: Not allowed
    404Error:
      type: object
      properties:
        result:
          type: string
        code:
          type: string
        description:
          type: string
      example:
        result: error
        code: ORGANIZATION_NOT_FOUND
        description: 'Failed to get organization for id: {orgId}'
    PartnerUserOrganization:
      type: object
      description: One of the partner's organizations that the user is linked to.
      properties:
        id:
          $ref: '#/components/schemas/Uuid'
        externalSourceId:
          type:
            - string
            - 'null'
          description: >-
            String. The organization's id in an external system, unique within
            the client application. Null when not set.
        name:
          type: string
          description: String. The name of the organization.
      required:
        - id
        - externalSourceId
        - name
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````