Logo
Akamai APIs API Documentation

View states for a user profile

GET https://{{host}}/identity-management/v3/user-profile/common/countries/:country/states

This operation lists the supported U.S. states or Canadian provinces. Users should use the values from this operation to add or update their state. Administrators should run the View states operation before modifying a user's state.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

[ "AB", "BC", "PQ", "NS", "NT", "NU", "QC", "YK", "NB", "MB", "PE", "TBD", "NF", "SK", "ON" ]



Curl
curl -X GET 'https://host/identity-management/v3/user-profile/common/countries/:country/states?accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS