Collections

Remove Registrations From Collection

This removes associated registrations from a collection

Permissions

Any user with write permissions on this collection should be to remove registrations from this collection.

Returns

Nothing in the response body.

delete/collections/{collection_id}/linked_registrations/relationships/

Request

  • Base URL
    https://api.test.osf.io/v2
  • URL
    https://api.test.osf.io/v2/collections/{collection_id}/linked_registrations/relationships/
  • Auth
    none declared

Path parameters

collection_idstring required

A short id for that collection

Request body

object required

Example request

{
  "data": [
    {
      "type": "linked_registrations",
      "id": "guid0"
    },
    {
      "type": "linked_registrations",
      "id": "newid"
    },
    {
      "type": "linked_registrations",
      "id": "test2"
    },
    {
      "type": "linked_registrations",
      "id": "guid4"
    }
  ]
}

Response

OK

Changes

No recorded changes to this operation across all 2 revisions of this API.