Skip to navigation

Terminate animals

Terminates between 1 and 100 animals on the study. The request is validated as a whole; if any animal cannot be terminated, none are.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Path parameters

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

Headers

X-Studies-Api-VersionstringOptional

Request

The animals to terminate.
animal_idslist of stringsRequired
Between 1 and 100 animals on the study to terminate, none already terminated. Duplicates are ignored.
termination_reasonstringRequiredformat: "^tgy_[a-zA-Z0-9]{10,22}$"
The reason for termination, an entry in your team's euthanasia reasons glossary.
terminated_atdate or nullOptional
The day the animals were terminated, recorded at midday. Defaults to the current date on the server.
disease_survivorbooleanOptional
Whether the animals survived the induced disease. Defaults to false.
commentstring or nullOptional<=5000 characters
A comment recorded against the termination.

Response headers

X-RateLimit-LimitintegerOptional
The number of requests permitted in the current rate limit window.
X-RateLimit-RemainingintegerOptional

The number of requests still available in the current rate limit window. When several limits apply, this reflects the per-API-key limit, so a request can be rejected while this value is above zero.

X-RateLimit-ResetintegerOptional
The number of seconds until the current rate limit window resets.

Response

The terminated animals.
datalist of objects
The animals.

Errors

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