# social.coves.actor.updateProfile

> Published by [coves.social](https://lexicon.garden/identity/did:web:coves.social)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.actor.updateProfile)
- [Documentation](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.actor.updateProfile/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.actor.updateProfile/examples)

## Definitions

### `social.coves.actor.updateProfile`

**Type**: `procedure`

Update the authenticated user's profile

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `bio` | `string` | No | User bio. Stored as the `description` field of the social.coves.actor.profile record. |
| `avatarBlob` | `string` | No | Base64-encoded avatar image data (png, jpeg, or webp; decoded size limit 1MB) |
| `bannerBlob` | `string` | No | Base64-encoded banner image data (png, jpeg, or webp; decoded size limit 2MB) |
| `displayName` | `string` | No | Optional display name |
| `avatarMimeType` | `string` | No | MIME type of the avatar image (image/png, image/jpeg, image/webp) |
| `bannerMimeType` | `string` | No | MIME type of the banner image (image/png, image/jpeg, image/webp) |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes | CID of the updated profile record |
| `uri` | `string` (at-uri) | Yes | AT-URI of the updated profile record |

## Raw Schema

```json
{
  "id": "social.coves.actor.updateProfile",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "properties": {
            "bio": {
              "type": "string",
              "maxLength": 2560,
              "description": "User bio. Stored as the `description` field of the social.coves.actor.profile record.",
              "maxGraphemes": 256
            },
            "avatarBlob": {
              "type": "string",
              "maxLength": 1400000,
              "description": "Base64-encoded avatar image data (png, jpeg, or webp; decoded size limit 1MB)"
            },
            "bannerBlob": {
              "type": "string",
              "maxLength": 2800000,
              "description": "Base64-encoded banner image data (png, jpeg, or webp; decoded size limit 2MB)"
            },
            "displayName": {
              "type": "string",
              "maxLength": 640,
              "description": "Optional display name",
              "maxGraphemes": 64
            },
            "avatarMimeType": {
              "type": "string",
              "maxLength": 128,
              "description": "MIME type of the avatar image (image/png, image/jpeg, image/webp)"
            },
            "bannerMimeType": {
              "type": "string",
              "maxLength": 128,
              "description": "MIME type of the banner image (image/png, image/jpeg, image/webp)"
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "uri",
            "cid"
          ],
          "properties": {
            "cid": {
              "type": "string",
              "format": "cid",
              "description": "CID of the updated profile record"
            },
            "uri": {
              "type": "string",
              "format": "at-uri",
              "description": "AT-URI of the updated profile record"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Update the authenticated user's profile"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
