AviatoAviato
DeveloperAPI ReferenceMeProfile

/api/me/profile

PATCH
/api/me/profile

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/api/me/profile" \  -H "Content-Type: application/json" \  -d '{}'
{
  "user": {
    "id": "string",
    "username": "string",
    "displayName": "string",
    "role": "admin",
    "publicKey": "string",
    "libraryAccess": [
      {
        "libraryId": "string",
        "maxRating": "string"
      }
    ],
    "enabled": true,
    "createdAt": "string",
    "lastLoginAt": "string"
  }
}
{
  "error": "string"
}