WebAPI Reference Guide > Available API Methods > Administration Methods > The apiKeysRemoveKey Method

The apiKeysRemoveKey Method

Remove a WebAPI Key.

Version: 1.3

Required Permissions: Read-only

HTTP method: POST

Supported by Editions: All

Request Parameters:

Parameter

 Type

Required

Description

ids

array

Yes

Id of the key

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/apiKeysRemoveKey

Response

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

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

<requestData>

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

<method>apiKeysRemoveKey</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>

 

 

Related Links

Related Links:

Available API Methods

 

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.