Removing a permission group 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.

See Understanding Group Permissions for a listing of all default permissions groups within Managed DNS.

REST Syntax

Click to view all REST Resources

UserGroupEntry/ DELETE — Removes the permissions group from the user.

HTTP Action — DELETE

URI — https://api.dynect.net/REST/UserGroupEntry/<user_name>/<group>/

Arguments:

No Arguments.

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

RemoveUserGroups — Removes the permission group(s) from the user.

Arguments:

  • string user_nameRequired. The user’s name.
  • array groupRequired. A list of permission groups to remove from the user.
  • string tokenRequired. The session identifier.
Response:

Not Applicable.

Example Request — Click for More Info