Skip to main content
POST
/
v1
/
customer
/
updateACL
update ACL
curl --request POST \
  --url https://api.unprice.dev/v1/customer/updateACL \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customerId": "cus_1H7KQFLr7RepUyQBKdnvY",
  "updates": {
    "customerUsageLimitReached": true,
    "customerDisabled": true,
    "subscriptionStatus": "active"
  }
}
'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json

The updates to the ACL

customerId
string
required

The customer ID

Example:

"cus_1H7KQFLr7RepUyQBKdnvY"

updates
object
required

Response

The result of the update ACL

The response is of type object.