UserService

PATCH /api/users/{user}/settings/{setting}

Changed on

UpdateUserSetting updates a user setting. Only the user may call it, and only the GENERAL and TAGS settings can be updated.

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

userstring required

The user id.

settingstring required

The setting id.

Query parameters

updateMaskstring field-mask

Required. The fields to update, relative to the setting value. GENERAL supports locale, memo_visibility, theme and save_media_metadata; TAGS supports tags.

Request body

namestring

Identifier. The resource name of the user setting. {setting} is the setting key, such as GENERAL. Format: users/{user}/settings/{setting}

Response

OK

namestring

Identifier. The resource name of the user setting. {setting} is the setting key, such as GENERAL. Format: users/{user}/settings/{setting}

Changes