PATCH
/
landscapes
/
{landscapeId}
/
version-reverts
/
{versionRevertId}
curl --request PATCH \
  --url https://api.icepanel.io/v1/landscapes/{landscapeId}/version-reverts/{versionRevertId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "notes": "<string>"
}'
{
  "versionRevert": {
    "notes": "<string>",
    "versionId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "diagramHandleIds": [
      "<string>"
    ],
    "id": "<string>",
    "landscapeId": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "user",
    "updatedById": "<string>"
  }
}

Headers

Authorization
string
required

Path Parameters

landscapeId
string
required
versionRevertId
string
required

Body

application/json
notes
string
Minimum length: 10

Response

200
application/json
OK
versionRevert
object
required