Monetization AutoPilot
API Manual
Introduction
How to access the API
API Queries
Delete Folder
Authentication
Error Codes
Usage Limits
Code Examples
Support and Help
 
User Manual

API Queries - Delete Folder

The delete_folder function removes a folder. This function does not delete domains from the specified folder - instead they are moved to the "(DEFAULT)" folder. Additional parameters are required for this function.

Additional Parameters

  • folder - Name of the folder you want to delete. (Required)

Note: Make sure to URL encode all values.


Example query and response:

In this example we will delete the folder "parked domains1" (folder=parked%20domains1) that has hundreds of domains in it. As this job will take longer than 30 seconds, a jobid will be given.

Note: This function does not delete domains from the specified folder - instead they are moved to the "(DEFAULT)" folder.

Example query:
https://www.above.com/api.php?username=user&password=pass&api_key=key&mode=delete_folder&folder=
parked%20domains1

Response:

	<results>
	  <result jobid="14524" status="Processing"/>
	</results>
	

You can then view the progress using the jobid with the Job Status function.


In this example, we will delete the folder "parked domains2" (folder=parked%20domains2).

Example query:
https://www.above.com/api.php?username=user&password=pass&api_key=key&mode=delete_folder&folder=
parked%20domains2

Response:

	<results status="Success" />
	


Error Responses:

Possible error responses for this function are:

For a complete list of error responses, see the Error Codes manual page.