Skip to navigation

Update Reaction

Beta

Archive or unarchive a reaction.

Set archived to true with archiveReason to archive a reaction, or false to unarchive it. Set studyIds to replace the studies the reaction is associated with. Editing a submitted reaction’s name, components, or folder is not supported through the API.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

reaction_idstringRequired
ID of the Reaction.

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

Request

This endpoint expects an object.
archiveReasonstringOptional

Why it is being archived. Required when archived is true, and not allowed when unarchiving.

archivedbooleanOptional

Set to true to archive or false to unarchive it. Archiving requires archiveReason.

studyIdslist of stringsOptional
Study IDS to associate with the item.

Response

OK
__typenamestringOptional
archiveReasonstring or nullOptional
archivedbooleanOptional
authorsstring or nullOptionalformat: "uri"
componentslist of objectsOptional
createdAtstring or nullOptionalformat: "datetime"
creatorobjectOptional
entryobject or nullOptional
folderobjectOptional
idstringOptional
modifiedAtstring or nullOptionalformat: "datetime"
namestringOptional
webUrlstringOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error