Identity_UpdateUserSettings
Identity_UpdateUserSettings
Path Parameters
- user string required
The user id.
Request Body required
settings object required
- name string
The resource name of the user.
- profileVisibility enum
Possible values: [
VISIBILITY_UNSPECIFIED
,PUBLIC
,PRIVATE
]A private user will only have the username, discriminator, profile image and banner image public.
- showExplicitContent boolean
Whether the user choose to see explicit content during navigation.
- enableDeveloperMode boolean
Whether the user has enabled the developer mode.
- updateMask field-mask
The field mask to determine which fields are to be updated. If empty, the server will assume all fields are to be updated.
- 200
- default
OK
Schema
- name string
The resource name of the user.
- profileVisibility enum
Possible values: [
VISIBILITY_UNSPECIFIED
,PUBLIC
,PRIVATE
]A private user will only have the username, discriminator, profile image and banner image public.
- showExplicitContent boolean
Whether the user choose to see explicit content during navigation.
- enableDeveloperMode boolean
Whether the user has enabled the developer mode.
Default error response
Schema
- code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
- message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- @type string
The type of the serialized message.