POST
Create a map group

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
Maximum string length: 50

Response

Map group created: the write acknowledgement, whose id is the new group's id. Empty when the name already existed.

The database's acknowledgement of a write. rev is the document's new _rev.

ok
boolean
Example:

true

id
string
rev
string
Example:

"2-9a1c…"