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.
Body
PARAM
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](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 | < Curl curl -X GET 'https://host/edgeworkers/v1/secure-token/:propertyId?acl=&url=&expiry=&network=&accountSwitchKey=' -H 'Accept: application/json' ENDPOINTS |