Expires a push immediately. Must be authenticated & owner of the push or the push must have been created with deleteable_by_viewer.
curl -X DELETE \ -H "X-User-Email: user@example.com" \ -H "X-User-Token: MyAPIToken" \ https://pwpush.com/p/fkwjfvhall92.json
{ "expired": true, "expired_on": "2023-10-20T15:32:01Z" }
For language-specific examples and detailed API documentation, see: docs.pwpush.com/docs/json-api/
Param name | Description |
---|---|
url_token
required |
Secret URL token of a previously created push. Validations:
|