Delete a Pathway from an Opportunity

This endpoint deletes the specified suggested pathway in an opportunity.

Required Scope

opportunity:write

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

Body Parameters

  • id
    Required. ID of the pathway that will be removed from the opportunity.
  • type
    Type of object that will be removed as a relationship. Can only be pathways.

Refer to the example request below.

https://api.betatest.degreed.com/api/v2/opportunities/<opportunityId>/relationships/suggested-pathways
  -H "Content-Type: application/json"
  -H "Authorization: Bearer <access_token>"
  -X DELETE
  -d '{ \
    "data": [ \
    { \
      "id": "64rrL" \
      "type": "pathways" \
        }, \
    { \
      "id": "8oWW3" \
      "type": "pathways" \
        } \
    ] \
  }'
Path Params
string
required

The ID of the opportunity to update.

Body Params
data
array of objects
data
Responses
201

Success

400

Bad Request

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here!