Get a secure token

GET https://{{host}}/edgeworkers/v1/secure-token/:propertyId

Deprecated Use the Create a secure token operation instead. This returns a generated authentication token, for use with enhanced debug headers for EdgeWorkers.

Request Params

KeyDatatypeRequiredDescription
aclstring(Optional) Path prefix of the response pages to debug. This value can be a pattern that matches multiple pages, and is explicitly part of the final token. The default is /*. If you specify an acl, don't specify a url.
urlstring(Optional) Exact path of the response pages to debug. This value is not explicitly part of the final token, but is used as a salt in the HMAC computation. If you specify a url, don't specify an acl.
expirystring(Optional) Number of minutes before the authentication token expires, from a minute to an hour. The default is 15.
networkstring(Optional) Enum The network on which to use this authentication token, either STAGING or PRODUCTION. If not specified, the token is created for the network where the last property version activation occurred.
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"akamaiEwTrace":"eyJ0eXAiOiJKV1Qi ... iu1XOS9eJOl-54Yw"}