Admin guide
API
Create group

Create group

Use this endpoint to create a new groups based on templates configured for organisations in Seamless.

Properties

AttributeTypeDescription
displayNamestringThe name of the group to be created.
descriptionstring/nullOptional description of the group.
mailNickNamestringUnique alias for the group’s email address.
responsiblestringPrimary responsible person's user ID or email.
deputystring/nullOptional backup responsible person's user ID or email.
organisationIdOrIdentifierstringID or unique identifier of the organization creating the group.
templateIdOrIdentifierstringID or identifier of the policy template to be applied.
ownersarray[string]List of user IDs or emails to be assigned as group owners.
membersarray[string]List of user IDs or emails to be assigned as group members.

Request

POST /teams
Content-Type: application/json
{
  "displayName": "My test group 1",
  "description": null,
  "mailNickName": "mytest",
  "responsible": "john.doe@contoso.com",
  "deputy": null,
  "organisationIdOrIdentifier": "cn",
  "templateIdOrIdentifier": "cstprj",
  "owners": [
    "john.doe@contoso.com"
  ],
  "members": [
     "jane.smith@contoso.com",
     "alex.taylor@contoso.com",
     "maria.garcia@contoso.com",
     "chris.jordan@contoso.com"
  ]
}

Response

HTTP/1.1 200 OK
Content-type: application/json
{
  "status": "…",
  "teamId": "…",
  "statusUrl": "…"
}