cURL
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" } } '
{}
Update the ACL for a customer
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The updates to the ACL
The customer ID
"cus_1H7KQFLr7RepUyQBKdnvY"
Show child attributes
The result of the update ACL
The response is of type object.
object