# net.olamaelcu.livtet.biblio.profile.set

> Load the profile, apply the supplied fields, save. Fields the input omits keep their current value.

- Kind: procedure
- Authority: profile.biblio.livtet.olamaelcu.net
- Lexicon: 1
- Published by [biblio.livtet.olamaelcu.net](https://lexicon.garden/identity/did:plc:e2x3ihw2ntxt7pcgzmtu3abi), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.profile.set)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.profile.set/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.profile.set/analytics)

## Procedure (`net.olamaelcu.livtet.biblio.profile.set`)

Type: procedure · POST

### Input (application/json)

- `avatarCid` (string): CID of an avatar blob already uploaded with com.atproto.repo.uploadBlob.
- `description` (string): New profile description.
  - Constraints: maxLength: 256, maxGraphemes: 256
- `displayName` (string): New display name.
  - Constraints: maxLength: 640, maxGraphemes: 640

### Output (application/json)

- `uri` (string · at-uri, required): AT-URI of the profile record.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Load the profile, apply the supplied fields, save. Fields the input omits keep their current value.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "avatarCid": {
              "description": "CID of an avatar blob already uploaded with com.atproto.repo.uploadBlob.",
              "type": "string"
            },
            "description": {
              "description": "New profile description.",
              "maxGraphemes": 256,
              "maxLength": 256,
              "type": "string"
            },
            "displayName": {
              "description": "New display name.",
              "maxGraphemes": 640,
              "maxLength": 640,
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "uri": {
              "description": "AT-URI of the profile record.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Merge fields into the caller's profile record at rkey 'self', which the getActorProfile query reads.",
  "id": "net.olamaelcu.livtet.biblio.profile.set",
  "lexicon": 1
}
```
