Canary Speech

PatchSubject

PATCH - /org/subject/:subjectId
Required Permissions:
  • scope:api

Description

Patch a subject

Headers

Header KeyDescriptionExample
Authorization
The Authorization header for this endpoint. The value must be the token from the /v3/auth/tokens/get endpoint and given using the Bearer pattern.
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdW...

Path Parameters

NameTypeDescription
subjectIdstring
The UUID of the subject

Body Parameters

NameTypeDescription
* aliasstring
The uuid of the survey associated with this assessment.
* statusint32
The user-configurable status flag of the subject.
* dateCloseddate-time
The date and time the assessment was recorded.
extraDataobject
Any extra data to be associated with the assessment.

Successful Response

A successful response

Field NameTypeDescription
messagestring
"OK"

Code Example