Jump to: navigation, search

Create Setting

This operation is part of the User Settings API section of the Web Services API.

Overview

Creates a new setting in the specified group.

Request URL /users/{id}/settings/{group-name}
or

/me/settings/{group-name}

HTTP Method POST
Required Features api-provisioning-write

Parameters

Parameter Value
<key> Specify the "key" attribute defined for the setting. If the "key" attribute was not specified when the setting was created, you should use the "name" attribute.
value The value of the setting.

Samples

Request

POST /me/settings/my-setting-group
{
    "name": "My Third Setting",
    "value": "purple"
}

HTTP Response

{
 "statusCode": 0
}

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on January 22, 2016, at 11:57.