Canary Speech

UpdateSubject

POST - /v3/api/update-subject
Required Permissions:
  • scope:api
  • scope:api.updatesubject

Description

Updates 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...
Content-Type
The content type for this request.
application/json

Body Parameters

NameTypeDescription
* subjectIduuid
The subject ID being updated
namestring
firstNamestring
middleNamestring
lastNamestring
prefixstring
suffixstring
aliasstring
dateOfBirthstring
emailstring
phoneNumberstring
dateRetiredstring

Successful Response

A successful response

Field NameTypeDescription
idstring
The ID of the subject.

Code Example