---
title: "Delete a Pathway from an Opportunity"
method: DELETE
path: "/api/v2/opportunities/{opportunityId}/relationships/suggested-pathways"
tags: ["Opportunity"]
---

# Delete a Pathway from an Opportunity

`DELETE /api/v2/opportunities/{opportunityId}/relationships/suggested-pathways`

## Request

- Base URL: `https://api.betatest.degreed.com`
- URL: `https://api.betatest.degreed.com/api/v2/opportunities/{opportunityId}/relationships/suggested-pathways`
- Auth: HTTP bearer

This endpoint deletes the specified suggested pathway in an opportunity. <h3>Required Scope</h3>`opportunity:write`

## Path parameters

- `opportunityId` string, required

## Request body

- OpportunityRelationshipPathwayBody
  - `data` OpportunityRelationshipPathwayBodyData[]
    - `type` string, nullable: The type of relationship.
    - `id` string, nullable: The unique id of the pathway.

## Response `201`

Success

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/degreed/apis/degreed-api-web.md) - [All operations](https://skmtc.dev/degreed/apis/degreed-api-web/llms.txt) - [OpenAPI document](https://skmtc.dev/degreed/apis/degreed-api-web/revisions/9fa024eaf414?raw)
