Create a Group

View as Markdown

Create a new group. The name is required and must be unique within the organization. The group is created with no members. Use the member endpoint to add users.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:)>.

OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

_fieldsstringOptional

Comma-separated list of fields to include in the response.

Request

This endpoint expects an object.
namestringRequired

Response

Successful response
idstring
namestring
organization_idstring
memberslist of objects or null

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error