Preprints
Update a Preprints Institutional Affilation
Updates an institution affilation to a Preprint, effectively creating or removing a relationship between the Preprint and that user's affilation to the Preprint.
Required
A relationship object with a data key, containing the institutions type and valid institution ID is required. All attributes describing the relationship between the Preprint and the institution are optional.
Returns
Returns a JSON object with a data key containing the representation of the new institution, if the request is successful. If the request is unsuccessful, an errors key containing information about the failure will be returned. Refer to the list of error codes to understand why this request may have failed.
put/preprints/{preprint_id}/relationships/institutions/
Path parameters
preprint_idstring required
The unique identifier of the Preprint.
Request body
object required
Example request
{
"data": [
{
"type": "institution",
"id": "668d6b40ef52ae0008dabe64"
},
{
"type": "institution",
"id": "668d6b40ef52ae0008dabe65"
}
]
}Response
Success