Generate a random access token for use in the Z-Ray Secured Access mode.
Version: 1.8
Required Permissions: Full
HTTP method: POST
Supported Editions: Zend Server
Request parameters:
Parameter |
Type |
Required |
Description |
iprange |
String |
Yes |
IP Range allowed access to Z-Ray with this token. The iprange can be any IP address or CIDR range. |
baseUrl |
String |
No |
Limit access with Z-Ray to a specific base URL. Z-Ray and its activities will only be active on this specific base URL and any sub-paths. If no baseUrl is specified, this token will not be limited to a specific baseUrl. |
ttl |
Integer |
Yes |
Limit this token’s access to expire after the given time in seconds is passed. |
Expected Response Code: 200 OK. For more information see Response Format.
Response Format: accessToken
Possible Action Specific Error Codes: This action has no specific error codes
|
Request (headers removed for the purpose of clarity)
Response (not all headers are shown)
|