updateSubject

This method is to update an existing subject.

This method was added in Cortex 2.1

Parameters

A subject is identified by his/her name, so you must provide the name of the subject you want to update. Then you can set one or more of the not required fields to update their value.

Result

The result is a subject object representing the updated subject.

Examples

Update the date of birth of a subject.

{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "updateSubject",
    "params": {
        "cortexToken": "xxx",
        "subjectName": "Bob Smith",
        "dateOfBirth": "1978-11-21"
    }
}

Last updated