メインコンテンツへスキップ
PUT
/
settings
/
v3
/
users
/
{userId}
ユーザーが変更されます
curl --request PUT \
  --url https://api.hubapi.com/settings/v3/users/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "firstName": "<string>",
  "lastName": "<string>",
  "primaryTeamId": "<string>",
  "roleId": "<string>",
  "secondaryTeamIds": [
    "<string>"
  ]
}
'
{
  "email": "<string>",
  "id": "<string>",
  "roleIds": [
    "<string>"
  ],
  "superAdmin": true,
  "firstName": "<string>",
  "lastName": "<string>",
  "primaryTeamId": "<string>",
  "roleId": "<string>",
  "secondaryTeamIds": [
    "<string>"
  ],
  "sendWelcomeEmail": true
}

Documentation Index

Fetch the complete documentation index at: https://developers.hubspot.jp/docs/llms.txt

Use this file to discover all available pages before exploring further.

Supported products

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

パスパラメータ

userId
string
必須

クエリパラメータ

idProperty
enum<string>
利用可能なオプション:
EMAIL,
USER_ID

ボディ

application/json
firstName
string

ユーザーの名。

lastName
string

ユーザーの姓。

primaryTeamId
string

ユーザーのプライマリーチーム。

roleId
string

ユーザーの役割。

secondaryTeamIds
string[]

ユーザーの追加チーム。

レスポンス

successful operation

email
string
必須

ユーザーのEメール。

id
string
必須

ユーザーの固有ID。

roleIds
string[]
必須

ユーザーに割り当てられた役割IDのリスト。

superAdmin
boolean
必須

ユーザーがスーパー管理者特権を持っているかどうか。

firstName
string

ユーザーの名。

lastName
string

ユーザーの姓。

primaryTeamId
string

ユーザーのプライマリーチーム

roleId
string

ユーザーの役割。

secondaryTeamIds
string[]

ユーザーの追加チーム。

sendWelcomeEmail
boolean

ウェルカムEメールがユーザーに送信されたかどうか。この値は、プロビジョニングリクエストへのレスポンスとしてのみ入力されます。後続のクエリーはfalseになります。

Last modified on April 13, 2026