Update the portal configuration
POST
Changes only the fields you send. A metadata value of "" removes that key.
apiKeyHeaderheader
x-api-key<token>API key for authentication. Generate from the dashboard or via POST /v1/api-keys.
x-api-key*stringAPI key for authentication
Length
1 <= length- body
business_profile?default_return_url?|Format
uriLength
length <= 2048features?metadata?Response for status 200
application/json- response
id*stringobject*stringactive*booleanis_default*booleanbusiness_profile*default_return_url*string|nullfeatures*metadata*created*|Unix seconds
updated*|Unix seconds
curl -X POST 'https://api.tryaccess.xyz/api/v1/billing_portal/configuration' \ -H 'x-api-key: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "bpc_01J9Z8K2P3Q4R5S6T7U8V9W0X1", "object": "billing_portal.configuration", "active": true, "is_default": true, "business_profile": { "headline": "string", "privacy_policy_url": "string", "terms_of_service_url": "string" }, "default_return_url": "string", "features": { "customer_update": { "enabled": true, "allowed_updates": [ "string" ] }, "invoice_history": { "enabled": true }, "subscription_cancel": { "enabled": true, "mode": "at_period_end", "cancellation_reason": { "enabled": true, "options": [ "string" ] } }, "subscription_pause": { "enabled": true } }, "metadata": {}, "created": 0, "updated": 0}How is this guide?