Change Account Settings
PUT https://api.imgur.com/3/account/{{username}}/settings
Updates the account settings for a given user, the user must be logged in.
Response Model: Basic
Parameters
Key | Required | Description |
---|---|---|
bio | optional | The biography of the user, is displayed in the gallery profile page. |
public_images | optional | Set the users images to private or public by default |
messaging_enabled | optional | true | false - Allows the user to enable / disable private messages |
album_privacy | optional | public | hidden | secret - Sets the default privacy level of albums the users creates |
acceptedgalleryterms | optional | true | false - The user agreement to the Imgur Gallery terms. |
username | optional | A valid Imgur username (between 4 and 63 alphanumeric characters) |
show_mature | optional | true | false - Toggle display of mature images in gallery list endpoints. |
newsletter_subscribed | optional | true | false - Toggle subscription to email newsletter. |
Request Body
[{"name"=>"bio", "value"=>"Long time lurker...", "datatype"=>"string"}, {"name"=>"public_images", "value"=>"false", "datatype"=>"boolean"}, {"name"=>"messaging_enabled", "value"=>"true", "datatype"=>"boolean"}, {"name"=>"album_privacy", "value"=>"public", "datatype"=>"string"}, {"name"=>"accepted_gallery_terms", "value"=>"true", "datatype"=>"boolean"}, {"name"=>"username", "value"=>"ImgurUser", "datatype"=>"string"}, {"name"=>"show_mature", "value"=>"true", "datatype"=>"boolean"}, {"name"=>"newsletter_subscribed", "value"=>"true", "datatype"=>"boolean"}, {"name"=>"avatar", "value"=>"flavor/taco", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |