Skip to content

api templates destroy

Matteo Gavagnin edited this page Nov 1, 2012 · 1 revision

Destroy Template

Destroy a Template.

DELETE /api/v1/templates/:id

Params

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

Supported Formats

json

Success Response:

  • Code: 200
    Content: Deleted

Error Response:

  • Code: 400
    Content: Bad Request

    OR

  • Code: 401
    Content: Unauthorized

    OR

  • Code: 404
    Content: Template Not Found

Sample Call:

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