Replacing a list of permission group subgroups 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

PermissionGroupSubgroupEntry/ PUT — Replaces the list of subgroups in a permission group with a new list of subgroups.

HTTP Action — PUT

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

Arguments:

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

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

SetPermissionGroupSubgroups — Replaces the list of subgroups in a permission group with a new list of subgroups.

Arguments:

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

Not Applicable.

Example Request — Click for More Info