---
title: "Create an obsoletion candidate to make an existing revision obsolete."
method: POST
path: "/releasepackages/obsoletion/{wfid}"
tags: ["ReleasePackage"]
---

# Create an obsoletion candidate to make an existing revision obsolete.

`POST /releasepackages/obsoletion/{wfid}`

## Request

- Base URL: `https://api.onshape.com/api/v17`
- URL: `https://api.onshape.com/api/v17/releasepackages/obsoletion/{wfid}`
- Auth: OAuth 2 and HTTP basic
  - Authorization code: `/oauth/authorize`
  - Token URL: `/oauth/token` scopes: `OAuth2Write`

## Path parameters

- `wfid` string, required

## Query parameters

- `revisionId` string, required
- `debugMode` boolean

## Response `default`

default response

---

[API](https://skmtc.dev/onshape/apis/onshape-rest-api.md) - [All operations](https://skmtc.dev/onshape/apis/onshape-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onshape/apis/onshape-rest-api/revisions/c5c4c780f831?raw)
