Skip to main content
PATCH
/
api
/
v2
/
users
/
favorite
Set favorite user for customer
curl --request PATCH \
  --url https://sandbox.killb.app/api/v2/users/favorite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "<string>"
}
'
{
  "id": "<string>",
  "favoriteUserId": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
userId
string | null

User ID to set as favorite. Omit this field or set to null to remove favorite user.

Response

id
string
required
favoriteUserId
string
required
updatedAt
string<date-time>
required