Skip to main content
POST
/
v0
/
tag-groups
/
{groupId}
/
dimensions
Create a new tag group dimension
curl --request POST \
  --url https://external.pleo.io/v0/tag-groups/{groupId}/dimensions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json;charset=UTF-8' \
  --data '
{
  "code": "5524f270-6c21-11ee-b962-0242ac120002",
  "name": "Project",
  "visible": false,
  "displayOrder": 1
}
'
{
  "data": {
    "code": "5524f270-6c21-11ee-b962-0242ac120002",
    "createdAt": "2023-08-23T03:11:48Z",
    "displayOrder": 1,
    "groupId": "c04c7e9e-6c15-11ee-b962-0242ac120003",
    "id": "c04c7e9e-6c15-11ee-b962-0242ac120002",
    "name": "Project",
    "updatedAt": "2023-08-23T03:11:48Z",
    "visible": false
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

groupId
string<uuid>
required

Unique identifier of the tag group this dimension will be associated with.

Body

application/json;charset=UTF-8
code
string
required

Code used in the external ERP/accounting system to identify the tag group dimension.

Example:

"5524f270-6c21-11ee-b962-0242ac120002"

name
string
required

User readable name of the tag group dimension.

Example:

"Project"

visible
boolean
required

Determines if this tag group dimension is displayed in the UI.

Example:

false

displayOrder
integer<int32> | null
deprecated

This field is no longer in use. The display order of a new tag group dimension is now managed by the highest column order value.

Example:

1

Response

default - application/json;charset=UTF-8

default response

data
object
required