deleteDiagramByVersion

Click to copy

Delete a diagram version

Delete a diagram version. The diagram version is not deleted if it is being used by existing jobs. The adminBasic or adminAdvanced privilege is required.

Query parameters

NameTypeRequired

token

string

Path parameters

NameTypeRequired

diagramId

string

diagramVersion

integer

orgId

string

itemId

string

Examples

Request

Use dark colors for code blocksCopy
1
2
3
4
# You can also use wget
curl -X DELETE /{orgId}/{itemId}/diagrams/{diagramId}/{diagramVersion} \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Response

200 Response

Use dark colors for code blocksCopy
1
2
3
{
  "success": true
}
StatusMeaningDescriptionSchema

200

OK

success

Success

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.