Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.77 KB

update-a-group.md

File metadata and controls

51 lines (41 loc) · 1.77 KB
description
Creating a group can be done by PUT'ing user details resource to the group resource collection.

Update a group

Updating a group can be done by PUT'ing group details resource to the group resource location.

PUT /api/management/security/groups/{groupIdentifier}

Parameters

Name Parameter type Type Description
groupIdentifier path GroupIdentifier One of the group identifiers

Example request

PUT: /api/management/security/groups/cd7b3be9-c45a-4a35-b359-f978f9dbeb9a
{
    "name": "Paper Street Soap Company",
    "Description": "Employees of the Paper Street Soap Company",
    "type": "contensis",
    "custom" : {
        "clientId": "PSSC"
    }
}
PUT: /api/management/security/groups/Paper%20Street%20Soap%20Company
{
    "name": "Paper Street Soap Company",
    "Description": "Employees of the Paper Street Soap Company",
    "type": "contensis",
    "custom" : {
        "clientId": "PSSC"
    }
}

Response message

HTTP status code Reason Response model
200 OK Group
403 Forbidden Error
404 NotFound Error
422 UnprocessableEntity Error
500 InternalServerError Error