ApiToken_Delete

Delete (revoke) an API Token.

Usage

Use this command when you want to delete (revoke) an API token associated with your account.

Availability

All resellers have access to this command.

Constraints

You will need to supply your account password as the pw parameter to execute this command.

Input Parameters

https://resellertest.enom.com/interface.asp?command=ApiToken_Delete&uid={YourAccountID}&pw={YourAccountPassword}&token={ApiTokenToDelete}&responsetype=xml
Input ParameterTypeDescription
commandstringApiToken_Delete
uidstringYour account username
pwstringYour account password
tokenstringThe API token you want to delete (revoke).
responsetypestringXML

Returned Parameters and Values

The default response format is plain text. To receive the response in HTML or XML format, send ResponseType=HTML or ResponseType=XML in your request.

Check the return parameter ErrCount. If greater than 0 the transaction failed. The parameter Err(ErrCount) can be presented to the client. Otherwise, the process returns parameters as defined above.

The following params are nested in:

<interface-response>
    <Success>True</Success>
    <ErrCount>0</ErrCount>
</interface-response>
Output ParameterTypeDescription
SuccessboolTrue or False