Delete Resources in a Bundle

This endpoint deletes the specified resources in a role of an existing bundle. On a successful delete it returns a 204 No Content response.

Required Scope

bundles:write

🚧

Body Parameters

  • id
    Required. ID of the resource that will be removed from the bundle.
  • type
    Type of object that will be removed as a relationship. Can be pathways, groups, content/videos, content/articles, content/books, content/courses, content/assessments.

Refer to the example request below.

curl https://api.degreed.com/api/v2/bundles/<ID>/relationships/resources
  -H "Content-Type: application/json"
  -H "Authorization: Bearer <access_token>"
  -X DELETE
  -d '{ \
    "data": [ \
    { \
      "id": "64rrL" \
      "type": "content/videos" \
        }, \
    { \
      "id": "8oWW3" \
      "type": "groups" \
        } \
    ] \
  }'
Language
Authentication
Bearer
Click Try It! to start a request and see the response here!