Logo
Akamai APIs API Documentation

View states

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

This operation lists the supported U.S. states or Canadian provinces. Administrators should use the values from this operation to add or update a user's state. If a user's state or province is unknown, use TBD. Users should run the View states for a user profile operation before modifying their 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-admin/common/countries/:country/states?accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS