Web API Reference Guide > Available API Methods > Administration Methods > The apiKeysGetList Method

The apiKeysGetList Method

Get a list of api keys.

Version: 1.3

Required Permissions: Read-only

HTTP method: GET

Supported by Editions: All

Request Parameters:  None

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

Response Format: apiKey

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

Example

Usage Example

Request

GET /ZendServer/Api/apiKeysGetList

Response

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

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

<requestData>

<apiKeyName><![CDATA[Admin]]></apiKeyName>

<method>apiKeysGetList</method>

</requestData>

<responseData>

<apiKeys>

<apiKey>

<id>5</id>

<username>developer</username>

<name><![CDATA[MyKey]]></name>

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

<creationTime>...</creationTime>

</apiKey>

</apiKeys>

</responseData>

</zendServerAPIResponse>

 

Read Also

  Available API Methods    
  Administration Methods