Removing zone access permissions from a user via the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.

REST Syntax

Click to view all REST Resources
UserZoneEntry/ DELETE — Removes zone access permissions from the user.

HTTP Action — DELETE

URI — https://api.dynect.net/REST/UserZoneEntry/<user_name>/<zone>/

Arguments:

  • string recurse — Indicates whether or not permissions apply to subnodes of the zone_name as well.
    Valid values:
    Y – Permissions apply to zone_name and any nodes below zone_name. Default.
    N – Permissions apply only to zone_name.
Response:

Not Applicable.

SOAP Syntax

Click to view all SOAP Commands

RemoveUserZones – Removes zone access permissions from the user.

Arguments — Click for More Info

Response:

Not Applicable.

Example Request — Click for More Info