DeveloperAPI ReferenceProfilesId
/api/profiles/{id}
Path Parameters
id*string
Resource ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/profiles/string" \ -H "Content-Type: application/json" \ -d '{}'{
"profile": {
"id": "string",
"userId": "string",
"name": "string",
"avatarUrl": "string",
"libraryAccess": [
{
"libraryId": "string",
"maxRating": "string"
}
],
"isDefault": true,
"hasPin": true,
"createdAt": "string",
"updatedAt": "string"
}
}{
"error": "string"
}{
"error": "string"
}