Groups

Create group

Create a group, or merge attributes into it if one with the same type and id already exists. attributes is required; send an empty object when there are none. The type defaults to organization.

post/api/groups

Request

  • Base URL: https://dregs.com
  • URL: https://dregs.com/api/groups
  • Auth: HTTP bearer

Request body

typestring

The group's type, such as organization or team. Defaults to organization.

idstring required

The group's ID in your system.

attributesobject required

Attributes merged into the group. Required; send an empty object when there are none.

Example request

{
  "type": "organization",
  "id": "org_678"
}

Response

Group created

Changes

No recorded changes to this operation across all 1 revision of this API.