Skip to content

Covers Edit#

PUT /user-settings/covers/user/front
PUT /user-settings/covers/user/back
PUT /user-settings/covers/organization/front
PUT /user-settings/covers/organization/back

Accept a list of objects containing one property: the covers uuid identifier. Updates their ordering and removes existing ones not passed in the request payload. Please note that only organization admin is allowed to update organization covers.

Request#

Example request#

curl -X PUT 'https://api.pricehubble.com/api/v1/user-settings/user/front' \
  -H 'Authorization: Bearer 74126eab0a9048d993bda4b1b55ae074' \
  -H 'Content-Type: application/json' \
  -d '{
  "items": [
      {
        "uuid": "a3bfec7a-b985-4244-a7f1-4bd25a4a1d85"
      },
      {
        "uuid": "85387d08-e9b7-4406-80d1-6eb6db7c34dc"
      }
    ]
  }'

Request fields#

Field Description Type Remarks
items A list of cover uuids Array of cover identifierss If a cover identifier is not given while it existed, it will be deleted.

Cover identifier#

Field Description Type Remarks
uuid Id of the cover string

Response#

When operation is successful, an empty response is returned.