/
Deleting a Zone

Deleting a Zone

It deletes a zone from the system.

URL: /admin/adnet/pub/admin/secciones.html?op=b&o=xml

Requirements:

  • The zone must exits an not have been previously deleted
  • The zone must not contain active or archived spaces
  • Ad space identifier must be known (seccion_id)


Mandatory parameters:

The parameter secion_id must be included.

Request example:

URL: /admin/adnet/pub/admin/secciones.html?op=b&o=xml&seccion_id=9942

Response:

It contains an object <operacion> that contains a tag <resultado>. The result could be either 1 (successful operation) or 0 (failed operation). 

If the operation is unsuccessful, it adds a list of errors through tags <error>, containing the attribute that specifies the attribute's name with error, and message with the error message.


Response example without errors:

<operacion>
    <resultado>1</resultado>
</operacion>