Updating user lists in 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.

REST Syntax

Click to view all REST Resources

PermissionGroupUserEntry/ PUT — Replaces the existing list of users in a permission group with an updated list.

HTTP Action — PUT

URI — https://api.dynect.net/REST/PermissionGroupUserEntry/<group_name>/

Arguments:

  • array user_name — A list of users. Pass an empty list or omit the argument to clear the list of users in the permission group.
Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

SetPermissionGroupUsers — Replaces the existing list of users in a permission group with an updated list.

Arguments:

  • string group_nameRequired. The permission group’s name.
  • array user_name — A list of users to replace the permission group’s user list. Pass an empty list or omit the argument to clear the list of users in the permission group.
  • string tokenRequired. The session identifier.
Response:

Not Applicable.

Example Request — Click for More Info