Adding permissions to a permissions group in 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

PermissionGroupPermissionEntry/ PUT — Replaces the list of permissions in an existing permission group with a new list.

HTTP Action — PUT

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

Arguments:

array permission — A list of permissions. Pass an empty list or omit the argument to clear the list of permissions in the permission group.

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

SetPermissionsGroupPermissions — Replaces the list of permissions in an existing permission group with a new list.

Arguments:

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

Not Applicable.

Example Request — Click for More Info