Skip to content

Remove a saved view

DELETE
/api/views/{id}
curl --request DELETE \
--url 'https://forge.example.com/api/views/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0?version=1' \
--header 'Authorization: Bearer <token>'

Your own views, or, for administrators, the organization’s. Send the view’s version as you read it, as the query parameter version. A stale one answers 409 with currentVersion, the version it has now.

id
required
string format: uuid
version
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Done. The answer has no body.

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}