Push Expiration

Expires a push immediately. Must be authenticated & owner of the push or the push must have been created with deleteable_by_viewer.

Example Request

curl -X DELETE \
  -H "X-User-Email: user@example.com" \
  -H "X-User-Token: MyAPIToken" \
  https://pwpush.com/p/fkwjfvhall92.json

Example Response

{
  "expired": true,
  "expired_on": "2023-10-20T15:32:01Z"
}

Language Specific Examples

For language-specific examples and detailed API documentation, see: docs.pwpush.com/docs/json-api/

Supported Formats

JSON

Params

Param name Description
url_token
required

Secret URL token of a previously created push.

Validations:

  • Must be a String