The zrayListAccessTokens Web API Method

Display a list of all access tokens in the system.

Version: 1.8

Required Permissions: Full

HTTP method: GET

Supported Editions: Zend Server

Request parameters: None

Expected Response Code: 200 OK. For more information see Response Format.

Response Format: accessTokens

Possible Action Specific Error Codes: This action has no specific error codes

Example

Usage Example

Request (headers removed for the purpose of clarity)

GET/ZendServer/Api/zrayListAccessTokens

Response (not all headers are shown)

<?xml version="1.0" encoding="UTF-8"?>

<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.8">

<requestData>

<apiKeyName>angel.eyes</apiKeyName>

<method>zrayListAccessTokens</method>

</requestData>

<responseData>

<accessTokens>

<accessToken>

<tokenId>2</tokenId>

<hash><![CDATA[...]]></hash>

<iprange><![CDATA[...]]></iprange>

<baseUrl><![CDATA[...]]></baseUrl>

<ttl>...</ttl>

<title><![CDATA[...]]></title>

</accessToken>

</accessTokens>

</responseData>

</zendServerAPIResponse>