VoidhashDocs
DocumentationAPI reference
Dashboard
Essentials
API overview
Authentication
Endpoints
Ad_accounts
Analytics
Api_keys
Auth
Component_dev_sessions
Component_registry
Components
Development
Events
Experiments
Feature_flag_overrides
Feature_flag_targets
Feature_flags
Ingest_policy
Notification_sends
Notifications
Organizations
Payment_provider_configurations
Payment_provider_products
Payment_sources
Paywall_locations
Paywalls
Perks
Persons
Products
Projects
Push_notification_configurations
Schema
Sdk
Users
Webhooks
Audit_log
Organization_members
Notices
Connected_apps
Tracking_domains
Ads
Payment_provider_history_imports
Feedback
Analytics
Event capture
List Paywalls
Create Paywall
Get Paywall
Update Paywall
Archive Paywall
Delete Paywall
Restore Paywall
List Paywall Releases
Create Paywall Release
Publish Paywall Release
Create Paywall Build
List Paywall Builds
Get Paywall Build
Deploy Paywall Build

Update Paywall

PATCH
/api/v1/paywalls/{paywallId}

Path Parameters

paywallId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

name?|null

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/v1/paywalls/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "archivedAt": "string",  "createdAt": "string",  "id": "string",  "name": "string",  "projectId": "string",  "slug": "string",  "thumbnailUrl": "string"}
{  "_tag": "Api/SdkValidationError",  "message": "string"}
{  "_tag": "Api/AuthenticationError",  "cause": "string",  "message": "string"}
{  "_tag": "Api/ActionForbiddenError",  "message": "string"}
{  "_tag": "Api/PaywallNotFoundError",  "message": "string"}
{  "_tag": "Api/PaywallServiceError",  "cause": "string"}
PreviousGet PaywallNextArchive Paywall