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
}「userId」によって特定されるユーザーが変更されます。「userId」はデフォルトではユーザーのIDを指しますが、必要に応じて「IdProperty」クエリーパラメーターによって指定されたEメールを指すこともできます。
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
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
EMAIL, USER_ID successful operation
ユーザーのEメール。
ユーザーの固有ID。
ユーザーに割り当てられた役割IDのリスト。
ユーザーがスーパー管理者特権を持っているかどうか。
ユーザーの名。
ユーザーの姓。
ユーザーのプライマリーチーム
ユーザーの役割。
ユーザーの追加チーム。
ウェルカムEメールがユーザーに送信されたかどうか。この値は、プロビジョニングリクエストへのレスポンスとしてのみ入力されます。後続のクエリーはfalseになります。