Skip to main content
POST
/
v1
/
customer
/
resetEntitlements
reset entitlements
curl --request POST \
  --url https://api.unprice.dev/v1/customer/resetEntitlements \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customerId": "cus_1H7KQFLr7RepUyQBKdnvY",
  "projectId": "proj_1H7KQFLr7RepUyQBKdnvY"
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json

The customer ID

customerId
string
required

The customer ID

Example:

"cus_1H7KQFLr7RepUyQBKdnvY"

projectId
string
required

The project ID

Example:

"proj_1H7KQFLr7RepUyQBKdnvY"

Response

The result of the reset entitlements

success
boolean
required