Zum Hauptinhalt springen
GET
/
settings
/
v3
/
users
/
roles
アカウントでの役割が取得されます
curl --request GET \
  --url https://api.hubapi.com/settings/v3/users/roles \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": "100",
      "name": "Test Role",
      "requiresBillingWrite": "False"
    }
  ]
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール
この API には、次のいずれかのスコープが必要です。
crm.objects.users.read
settings.users.read

Authorizations

Authorization
string
header
required

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

Response

successful operation

results
object[]
required