Skip to main content
PUT
/
v0
/
tag-groups
/
{groupId}
Update a tag group
curl --request PUT \
  --url https://external.pleo.io/v0/tag-groups/{groupId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json;charset=UTF-8' \
  --data '
{
  "archived": true,
  "code": "<string>",
  "metadata": {},
  "name": "<string>"
}
'
{
  "data": {
    "archived": false,
    "code": "5524f270-6c21-11ee-b962-0242ac120002",
    "companyId": "c04c7e9e-6c15-11ee-b962-0242ac120003",
    "createdAt": "2023-08-23T03:11:48Z",
    "id": "c04c7e9e-6c15-11ee-b962-0242ac120002",
    "metadata": {
      "externalExtraId": "f302f9ec-6c17-11ee-b962-0242ac120002"
    },
    "name": "Projects",
    "updatedAt": "2023-08-23T03:11:48Z",
    "totalTagsCount": 4
  }
}

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 to update.

Body

application/json;charset=UTF-8
archived
boolean
required

Boolean flag used to determine whether the tag group is archived.

code
string
required

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

metadata
object
required

Place to store additional information about the tag group.

name
string
required

User readable name of the tag group.

Response

default - application/json;charset=UTF-8

default response

data
object
required