/app/reset_api_key
This call resets the API key for a given partner RP application.
URL
https://rpxnow.com/partner/v2/app/reset_api_key
Request
| Parameter | Required | Description |
|---|---|---|
appIdstring | Yes | The application identifier of the RP application for which you want to reset the API key. |
partnerKeystring | Yes | The Engage partner key for the application referenced by the appId. If this application is a “child” application (created with the create API call), use the partnerKey from the “parent” application. |
formatstring | No | The response format: either xml or json. If not specified, the response defaults to json. |
Response
| Parameter | Type | Description |
|---|---|---|
stat | dictionary | This will be either ok or fail. If it fails, it includes information on what went wrong. Otherwise, the remainder of these fields will be present. |
apiKey | dictionary | The application’s new API key. |
Example Response
https://rpxnow.com/partner/v2/app/reset_api_key&appID=sample_app&partnerKey=partnerKey=987654321987654321987654321987
{
"stat": "ok",
"apiKey": "1234567891234567891234567891234567891234"
}
<?xml version="1.0" encoding="UTF-8" ?> <stat>ok</stat> <apiKey>1234567891234567891234567891234567891234</apiKey>