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
Key | Datatype | Required | Description |
---|---|---|---|
acl | string | (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 . | |
url | string | (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 . | |
expiry | string | (Optional) Number of minutes before the authentication token expires, from a minute to an hour. The default is 15. | |
network | string | (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. | |
accountSwitchKey | string | (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
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"akamaiEwTrace":"eyJ0eXAiOiJKV1Qi ... iu1XOS9eJOl-54Yw"}