Skip to main content
POST
/
clients
/
{id}
/
favorite
Set/Unset client as favorite
curl --request POST \
  --url https://api.projectcor.com/v1/clients/{id}/favorite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data favorited=true

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Body

application/x-www-form-urlencoded
favorited
boolean
required

Whether to set as favorite

Response

200

Favorite status updated