This version of the API is deprecated.

See group.update for the current version of this method.

context.updateContext

Update an existing contexts name and/or description.

Request Parameters

Context IDint (required)

Id for the context you want to update.

Context NameString

Provide a name for your new context. This must be unique for your account.

Context DescriptionString

Provide a description for your new context.

Response Parameters

NoneBoolean
True if succeeded else throws an error code.

Code Examples

JSON


//Request
{
  "method":"context.updateContext",
  "params":[1, "My Soccer Context","This is a context that contains my favorite soccer articles."],
  "id":0
}

//Response
{"id":0,"result":"true"]}