Skip to main content
PUT
/
v0
/
tag-groups
/
{groupId}
/
dimensions
/
{dimensionId}
Update a tag group dimension
curl --request PUT \
  --url https://external.pleo.io/v0/tag-groups/{groupId}/dimensions/{dimensionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json;charset=UTF-8' \
  --data '
{
  "code": "5524f270-6c21-11ee-b962-0242ac120002",
  "displayOrder": 1,
  "name": "Project",
  "visible": false
}
'
{
  "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 belongs to.

dimensionId
string<uuid>
required

Unique identifier of the tag group dimension to be updated.

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"

displayOrder
integer<int32>
required

Numerical value assigned to the tag group dimension to determine the display position.

Example:

1

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

Response

default - application/json;charset=UTF-8

default response

data
object
required