Skip to main content
POST
Create group

Authorizations

Authorization
string
header
required

Personal access token is obtained through your profile

Path Parameters

projectId
string<uuid>
required

ID of the project to create the group in

Body

application/json
name
string
required

Name of the group

description
string

Description of the group

permissions
enum<string>[]

List of permissions to grant to the group

Available options:
owner,
documents,
releases,
releases:manage,
releases:deploy,
releases:delete,
integrations:manage,
documents:full,
documents:view-content,
documents:edit-content,
documents:edit-view,
branches,
branches:create,
branches:merge,
branches:delete,
project:manage,
environments,
environments:manage,
environments:delete
filePermissions
object[] | null

File-level permissions for the group

Response

200 - application/json

The created group

The created group

id
string<uuid>
required

Unique identifier of the group

name
string
required

Name of the group

projectId
string<uuid>
required

ID of the project this group belongs to

permissions
enum<string>[] | null
required

List of permissions granted to this group

Available options:
owner,
documents,
releases,
releases:manage,
releases:deploy,
releases:delete,
integrations:manage,
documents:full,
documents:view-content,
documents:edit-content,
documents:edit-view,
branches,
branches:create,
branches:merge,
branches:delete,
project:manage,
environments,
environments:manage,
environments:delete
description
string

Description of the group

filePermissions
object[] | null

File-level permissions for this group

roleId
string<uuid>

ID of the access profile managing this group

role
object | null

Access profile that manages this group