---
title: "Update nickname and/or default board visibility"
method: POST
path: "/v1/me"
tags: ["Account"]
---

# Update nickname and/or default board visibility

`POST /v1/me`

## Request

- Base URL: `https://api.stackdata.io`
- URL: `https://api.stackdata.io/v1/me`
- Auth: one of:
  - API key in cookie `sd_session`
  - HTTP bearer

## Request body

- object
  - `nickname` string
  - `default_visibility` 'public' | 'private'
  - `explore_optout` boolean: Free-tier only — opt this account's questions out of the public Explore stream.

## Response `200`

Updated; returns the user.

- object
  - `user` User: The signed-in user. Never includes the password hash or raw session.
    - `id` string
    - `nickname` string
    - `email` string: May be null for an OAuth-only account.
    - `email_verified` boolean
    - `avatar_seed` string: Seed for GET /v1/avatar/{seed}.
    - `has_password` boolean
    - `tier` string
    - `default_visibility` 'public' | 'private'
    - `providers` string[]: Linked OAuth providers.
    - `created_at` string

## Other responses

- `401`: No valid session (cookie or Bearer token).

---

[API](https://skmtc.dev/stackdata/apis/stackdata-api.md) · [All operations](https://skmtc.dev/stackdata/apis/stackdata-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stackdata/apis/stackdata-api/revisions/91358ae3f6e8?raw)
