---
title: "Delete an RFP by the RFP number and location ID"
method: DELETE
path: "/rfps/{number}/locations/{locationId}"
tags: ["Rfps"]
---

# Delete an RFP by the RFP number and location ID

`DELETE /rfps/{number}/locations/{locationId}`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/rfps/{number}/locations/{locationId}`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/rfps/:number/locations/:locationId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Permanently deletes the RFP by the specified RFP number and location ID. It cannot be undone.
            <br />***Note:*** The RFP number is not unique. If multiple RFPs with the same number were created for a location, all of them are deleted when you pass the request.
            <br />Learn more about [deleting RFPs via the API](/guides/proposals/create-and-manage-RFPs/#delete-an-rfp).

## Path parameters

- `number` string, required
- `locationId` integer, required

## Response `204`

The RFP is deleted, and the response is intentionally blank.

## Other responses

- `400`: The request is not accepted due to bad syntax, missing parameters, insufficient data, etc. <br/>Error codes: 502 — RFP not found 503 — RFP can only be deleted, if none of the proposals are approved
- `401`: The request is not authorized. <br/>Error codes: 504 — API call rejected by security permissions
- `404`: The requested resource does not exist on the server.

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
