Update Study
Update a study. Omit any field to leave it unchanged.
Editable fields
name, description, folderId, and schemaFields can be updated. Keys in schemaFields must be field system names or field API IDs.
phase
- See the
phasefield for the full list of allowed lifecycle values. - Study types that skip the design phase cannot be set to
DESIGN. - Moving from
DESIGNtoEXECUTIONrequires an approved study design when the schema requires design approval.
designEntryId and designEntry
designEntryIdis only supported for custom studies. Omit to leave the design entry unchanged, or passnullto remove it.- On a custom study in
EXECUTIONunder a schema that requires design approval,designEntryIdcannot change unless the same update also moves the study intoDESIGN. - Use
designEntryto create a new entry and set it as the design entry in one request. It cannot be combined withdesignEntryId.
displayId
- Only allowed when the study schema’s
idGenerationModeisMANUAL. ProvidingdisplayIdfor an auto-generating schema fails validation. - When provided, must be unique within the tenant.
- Omitting
displayIdleaves the current value unchanged.
authorIds
- Omit to leave existing authors unchanged.
- Provide an array of user or app IDs to replace the current author list.
- Pass an empty array to clear all authors.
- Do not pass
null.
Archiving
- To archive, set
archivedtotrueand providearchiveReason. - To unarchive, set
archivedtofalse.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
study_id
ID of the Study.
Request
This endpoint expects an object.
archiveReason
archived
description
The description of the study. Omit to leave unchanged. Max 2048 characters.
designEntry
Create a new entry to use as the study design entry. Cannot be combined with designEntryId.
designEntryId
The ID of an entry to use as the study design entry. Omit to leave unchanged. Pass null to remove the design entry. Only supported for custom studies. On a custom study in EXECUTION under a schema that requires design approval, this cannot be changed unless the update also moves the study into the DESIGN phase.
displayId
The ID to assign to the study. Only allowed when the study schema is configured for manual ID assignment (i.e., idGenerationMode is MANUAL). Must be unique within the tenant.
folderId
The ID of the folder to move the study to. Omit to leave unchanged.
name
The name of the study. Omit to leave unchanged.
phase
The lifecycle phase of the study. Omit to leave unchanged. See the endpoint description for transition rules.
Allowed values:
schemaFields
fieldValuesDeprecated
Use schemaFields instead.
Response
OK
__typename
archiveReason
archived
createdAt
creator
description
designEntry
displayId
Human-readable identifier for the study. For schemas with auto-generated IDs, assigned by the server at creation. For MANUAL schemas, may be set at creation or update.
folder
id
modifiedAt
name
phase
Allowed values:
schema
schemaFields
studySchema
Use schema instead. The schema of the study.
archiveDatetimeDeprecated
No longer supported.
archiveUserDeprecated
No longer supported.
Errors
400
Study Update Request Bad Request Error
403
Study Update Request Forbidden Error
404
Study Update Request Not Found Error
409
Study Update Request Conflict Error
429
Study Update Request Too Many Requests Error
500
Study Update Request Internal Server Error