AviatoAviato
DeveloperAPI ReferenceProfiles

/api/profiles

POST
/api/profiles

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/profiles" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "profile": {
    "id": "string",
    "userId": "string",
    "name": "string",
    "avatarUrl": "string",
    "libraryAccess": [
      {
        "libraryId": "string",
        "maxRating": "string"
      }
    ],
    "isDefault": true,
    "hasPin": true,
    "createdAt": "string",
    "updatedAt": "string"
  }
}