Skip to navigation

Set task spec targets

Sets the study groups targeted by the task specification.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Path parameters

studyIdstringRequiredformat: "^sdy_[a-zA-Z0-9]{10,22}$"
The unique identifier of the study.
taskSpecIdstringRequiredformat: "^tsp_[a-zA-Z0-9]{10,22}$"
The unique identifier of the task specification.

Headers

X-Studies-Api-VersionstringOptional

Request

The study groups to set as targets.
type"group"Required
The target kind. This operation supports study groups only.
grouplist of stringsRequired
Study group API identifiers.

Response

The targets were set.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error