POST
Create a template group (project-scoped path)

Authorizations

Authorization
string
header
required

Obtain a token via POST /api/v1/oauth/token (password grant) and send it as Authorization: Bearer <token>.

Path Parameters

database
string
required

Project identifier (each project has its own database). Obtain it from GET /api/v2/data/projects.

Body

application/json
name
string
required

The group's name, as shown in the app. Trimmed on write; blank is rejected.

Maximum string length: 200

Response

The created template group.

A named folder for audit templates, within one project.

_id
string

Use this as a template's groupId.

couchDbId
string

The same value as _id, echoed so you need not work out which of the two a given endpoint returns.

_rev
string
name
string
project
string

The project database.

archived
string

Set when the group is archived. Absent or null means active.

content
object

Authorship. Both values are plain STRINGS here, unlike Project and Ticket, which use {email, type} objects for these same two field names.

dates
object