Skip to main content

Add many child groups to a group

Log in to add to favourites
POST/api/security/groups/{groupIdentifier}/groups

Parameters

NameParameter typeTypeFormatDescription
groupIdentifier(required)pathstringgroup identifier For convenience, Group resources can be referenced by using either the group name or id
groupIds(required)bodystring[...]uuidarray of group UUIDs

Responses

HTTP status codeReasonModel
204Success
401UnauthorizedError
403ForbiddenError
404Group not foundError
500Internal server errorError

Examples

Add many child-groups to a group in a single request

JSON
POST: /api/security/groups/6254736c-70e1-43b0-b769-f8e0f6359862/groups/
[
    "11b1b360-0420-4af9-babf-eb87fccb1ad5",
    "bab8f5ae-e204-47e1-bd2c-6898f2db429e",
    "1bb3fbdb-8255-4fd4-accc-750ff87665e3",
    "06e80ae8-dba3-47cb-b2d7-32ebc6b9fbe0"
]
JSON
POST: /api/security/groups/Paper%20Street%20Soap%20Company/groups/
[
    "11b1b360-0420-4af9-babf-eb87fccb1ad5",
    "bab8f5ae-e204-47e1-bd2c-6898f2db429e",
    "1bb3fbdb-8255-4fd4-accc-750ff87665e3",
    "06e80ae8-dba3-47cb-b2d7-32ebc6b9fbe0"
]

Remarks

Permissions

Member of System Administrators.

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request