Updating individual user permissions using 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 User and Group Permissions for a listing of all permissions within Dyn’s Managed DNS.

REST Syntax

Click to view all REST Resources
UserPermissionEntry/ PUT — Replaces a list of individual user permissions for the user.

HTTP Action — PUT

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

Arguments:

  • array permission — A list of permissions. Pass an empty list or omit the argument to clear the list of permissions of the user.
Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

SetUserPermissions — Replaces a list of individual user permissions for the user.

Arguments:

  • string user_nameRequired. The user’s name.
  • array permission — A list of permissions to replace the user’s permission list. If empty or not passed in, the user’s permission list will be cleared.
  • string tokenRequired. The session identifier.
Response:

Not Applicable.

Example Request — Click for More Info