Users

Modifies a user

Changed on

Modifies a user identified by userId. userId refers to the user's ID by default, or optionally email as specified by the IdProperty query param.

put/settings/users/2026-03/{userId}

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/settings/users/2026-03/{userId}
  • Auth
    • HTTP bearer
    • or API key in query parameter hapikey
    • or none

Path parameters

userIdstring required

Query parameters

idProperty'EMAIL' | 'USER_ID'

Request body

firstNamestring

The first name of the user.

lastNamestring

The last name of the user.

primaryTeamIdstring

The user's primary team.

roleIdstring

The user's role.

secondaryTeamIdsstring[]

The user's additional teams.

Response

successful operation

emailstring required

The user's email.

firstNamestring

The user's first name.

idstring required

The user's unique ID.

lastNamestring

The user's last name.

primaryTeamIdstring

The user's primary team

roleIdstring

The user's role.

roleIdsstring[] required

A list of role IDs assigned to the user.

secondaryTeamIdsstring[]

The user's additional teams.

sendWelcomeEmailboolean

Whether a welcome email was sent to the user. This value will only be populated in response to a provisioning request. Subsequent queries will be false.

superAdminboolean required

Whether the user has super admin privileges.

Changes

    • info

      api operation id put-/settings/users/2026-03/{userId}_update removed and replaced with put-/settings/users/2026-03/{userId}

    • info

      the security scope settings.users.write was added to the endpoint's security scheme private_apps

    • info

      the security scope crm.objects.users.write was removed from the endpoint's security scheme private_apps

    • info

      the security scope settings.users.write was added to the endpoint's security scheme private_apps

    • info

      the security scope crm.objects.users.write was removed from the endpoint's security scheme private_apps

Some revisions have not been checked yet.