# Set your profile

Source: https://amanucci.com/nl/docs/developers/api/people/updateProfile

## POST /v1/me/profile

Set your profile

Set your own profile: your name, the language everything is written in, the morning brief and its hour, and mail notifications — the whole of it, each time. The caller's own, by session or API key, and takes no hat. The first write also ends first run, so the web never shows it to someone who has set their profile up; a later write keeps that moment.

Operation ID: `updateProfile`

### Request body

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/UpdateProfile"
      }
    }
  }
}
```

### Responses

#### 200 The profile, as written.

```json
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/Profile"
    }
  }
}
```

#### 401 Dead or absent credential (`unauthenticated`).

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 403 Authenticated, present, and refused: a missing grant, a missing seat, or a missing step-up.

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 422 The request did not satisfy the schema (`invalid-input`).

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 429 Too many requests on this door's bucket (`rate-limited`); refused before any handler ran, `Retry-After` says when to come back.

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 503 Temporarily unavailable; `Retry-After` says when to come back.

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```
