Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

api passes destroy

Matteo Gavagnin edited this page · 1 revision

Destroy Pass

Destroy a Pass with the given Template.

DELETE /api/v1/templates/:template_id/passes/:id

Params

Param name Required Description
template_id Template ID
id Pass ID
api_token Your Passdock API key

Supported Formats

json

Success Response:

  • Code: 200
    Content: Good Request

Error Response:

  • Code: 400
    Content: Bad Request

    OR

  • Code: 401
    Content: Unauthorized

    OR

  • Code: 404
    Content: Pass Not Found

Sample Call:

curl -i -X DELETE https://api.passdock.com/api/v1/templates/106/passes/203?api_token=75778a65dfdae310a107d2ef0bbd3780
Something went wrong with that request. Please try again.