updateRecord

This method is to update a record. You can update its title, description and its tags.

Your application cannot update a record that was created by another application.

Parameters

Name

Type

Required

Description

cortexToken

string

yes

record

string

yes

title

string

no

The new title of the record.

This parameter was added in Cortex 2.5.0

description

string

no

The new description of the record. Omit this parameter if you don't want to update the description.

tags

array of strings

no

The new tags of the record.Omit this parameter if you don't want to update the tags.

Result

The result is a record object.

Examples

Update the tags and the description.

{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "updateRecord",
    "params": {
        "cortexToken": "xxx",
        "record": "d8fe7658-71f1-4cd6-bb5d-f6775b03438f",
        "description": "My best record ever.",
        "tags": ["best", "snow", "direwolf"]
    }
}

Last updated