Adding a user to a permission group 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 Understanding Group Permissions for a listing of all default permissions groups within Managed DNS.

REST Syntax

Click to view all REST Resources

UserGroupEntry/ POST — Assigns the permissions group to the user.

HTTP Action — POST

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
AddUserGroups — Assigns the permission group to the user.
Arguments:

string user_nameRequired. The user’s name.

array groupRequired. A list of permission groups to assign to the user.

string tokenRequired. The session identifier.

Response:

Not Applicable.

Example Request — Click for More Info