PUT
/
landscapes
/
{landscapeId}
/
versions
/
{versionId}
/
tags
/
{tagId}
curl --request PUT \
  --url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/tags/{tagId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "color": "blue",
  "commit": 123,
  "groupId": "<string>",
  "index": 123,
  "labels": {},
  "name": "<string>",
  "handleId": "<string>"
}'
{
  "tag": {
    "color": "blue",
    "commit": 123,
    "groupId": "<string>",
    "index": 123,
    "labels": {},
    "name": "<string>",
    "handleId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "deletedAt": "2023-11-07T05:31:56Z",
    "deletedBy": "user",
    "deletedById": "<string>",
    "id": "<string>",
    "landscapeId": "<string>",
    "modelConnectionIds": [
      "<string>"
    ],
    "modelObjectIds": [
      "<string>"
    ],
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "user",
    "updatedById": "<string>",
    "version": 123,
    "versionId": "<string>"
  }
}

Headers

Authorization
string
required

Path Parameters

landscapeId
string
required
versionId
string
required
tagId
string
required

Body

application/json
color
enum<string>
required
Available options:
blue,
green,
yellow,
orange,
red,
beaver,
dark-blue,
purple,
pink,
white,
grey,
black
groupId
string
required
index
number
required
name
string
required
commit
number
labels
object
handleId
string

Response

200
application/json
OK
tag
object
required