Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.19 KB

create-a-group.md

File metadata and controls

34 lines (27 loc) · 1.19 KB
description
Creating a group can be done by POST'ing user details resource to the group resource collection.

Create a group

Creating a group can be done by POST'ing group details resource to the group resource collection.

POST /api/management/security/groups/

Example request

POST: /api/management/security/groups/
{
    "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
201 Created Group
403 Forbidden Error
404 NotFound Error
409 Conflict Error
422 UnprocessableEntity Error
500 InternalServerError Error