< Back to zoomrank.com

Batch Delete Keywords

URL

http://vendor.zoomrank.com/accounts/:account_id/keywords/batch/delete.json

Supported formats

JSON

Supported request methods

POST

Example

Delete keywords for account ID 1

http://vendor.zoomrank.com/accounts/1/keywords/batch/delete.json

Request Body

A JSON array containing the keyword IDs to delete (50 record limit). The type of the ID (internal or external) can be specified by sending the "type" parameter. The default type is "internal".

Optional Arguments

Argument Description Format
type The type of ID being provided in the JSON array. external or internal

Response Codes

201 - Success
400 - Bad request. See error response.
500 - Unexpected error. Try again.

Example Request

[ 1, 2, 3, ... ]

Example Response (success) - Returns # of records successfully deleted.

{ "records": 3 }

Example Response (error) - No records found

{ "records": 0 }

Example Response (error) - Record limit exceeded

{ "error": "Batch exceeds 50 keyword limit." }