Draft Registrations
Subjects

Remove subjects from a draft registration

Remove one or more subjects from the draft registration by their identifiers. This only updates the relationship and does not delete the subject resource.

delete/draft_registrations/{draft_id}/relationships/subjects/

Request

  • Base URL
    https://api.test.osf.io/v2
  • URL
    https://api.test.osf.io/v2/draft_registrations/{draft_id}/relationships/subjects/
  • Auth
    none declared

Path parameters

draft_idstring required

The unique identifier of the draft registration.

Request body

Example request

{
  "data": [
    {
      "type": "subjects",
      "id": "def456"
    }
  ]
}

Response

Subjects removed successfully.

Changes

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