Logo
Akamai APIs API Documentation

Download an access token

GET https://{{host}}/edgekv/v1/tokens/:tokenName

Download a previously created EdgeKV access token. To get a token you need to know the token name. To learn more about access tokens, refer to the EdgeKV guide.

 

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

{ "expiry": "2021-09-30", "name": "my_token", "uuid": "fa3a7ae0-1b0c-45c7-adc3-f0638c6b7466", "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx" }



Curl
curl -X GET 'https://host/edgekv/v1/tokens/:tokenName?accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS