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
Analytics
Event capture
List Push Notification Configurations
Create Push Notification Configuration
Get Push Notification Configuration
Update Push Notification Configuration
Delete Push Notification Configuration

Update Push Notification Configuration

PATCH
/api/v1/push-notification-configurations/{configurationId}

Path Parameters

configurationId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

configuration?|null
enabled?boolean|null
name?string|null

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/v1/push-notification-configurations/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "activeProviderId": "string",  "configuration": {},  "createdAt": "string",  "deletedAt": "string",  "enabled": true,  "id": "string",  "name": "string",  "projectId": "string",  "providerId": "string",  "pushProviderKey": "string",  "updatedAt": "string"}
{  "_tag": "Api/PushNotificationConfigurationValidationError",  "cause": "string"}
{  "_tag": "Api/AuthenticationError",  "cause": "string",  "message": "string"}
{  "_tag": "Api/ActionForbiddenError",  "message": "string"}
{  "_tag": "Api/PushNotificationConfigurationNotFoundError",  "message": "string"}
{  "_tag": "Api/PushNotificationConfigurationKeyUnavailableError",  "message": "string"}
{  "_tag": "Api/PushNotificationConfigurationServiceError",  "cause": "string"}
PreviousGet Push Notification ConfigurationNextDelete Push Notification Configuration