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

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"

Response

The result of the reset entitlements

success
boolean
required
message
string