{"__v":0,"_id":"55274d7193f6062d00f316c9","category":{"__v":2,"_id":"552748df9d4bcd2300d0383d","pages":["55274cdebf3df9230068f7b1","55274e785296eb3900185abd"],"project":"545a65231d018b1400227d8f","version":"54e431e6de9f5b2300fc6dbc","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-10T03:51:59.068Z","from_sync":false,"order":9,"slug":"ticket-api","title":"TICKET API"},"editedParams":true,"editedParams2":true,"project":"545a65231d018b1400227d8f","user":"545a64cfbf1d2b0e00aaa091","version":{"__v":10,"_id":"54e431e6de9f5b2300fc6dbc","forked_from":"545a65231d018b1400227d92","project":"545a65231d018b1400227d8f","createdAt":"2015-02-18T06:32:06.531Z","releaseDate":"2015-02-18T06:32:06.531Z","categories":["54e431e7de9f5b2300fc6dbd","54e431e7de9f5b2300fc6dbe","54e56a85c2f66835000133c3","54ff948548c94d23004f1e17","5527280be69c7d0d00047eaf","55273bb14a7ac121004c60f0","55274588975eef3700ca8077","552748df9d4bcd2300d0383d","55274dd79d4bcd2300d0384a","55fa03180e1f1f1700a1f6ce","55fa3172d6f4370d001d99fd"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-04-10T04:11:29.867Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"method":"delete","results":{"codes":[{"name":"","code":"","language":"json","status":204},{"name":"","code":"{\n  \"Status\": \"error\",\n  \"Errors\": [\n    {\n      \"Key\": \"eventId\",\n      \"Message\": \"The Event id is not valid\"\n    }\n  ]\n}","language":"json","status":400}]},"auth":"required","params":[{"_id":"54e431b38ef7552300409e32","ref":"","in":"body","required":true,"desc":"The ticket id","default":"","type":"int","name":"TicketID"}],"url":"/ticket/:ticket_id"},"isReference":false,"order":2,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Library examples\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl \\\\\\n  -X DELETE \\\\\\n  -H \\\"Content-Type: application/json\\\" \\\\\\n  -u \\\"testuser:moy1zZCscHpx7ei8CzNA\\\" \\\\\\n  https://api.attendly.net/v2/ticket/902\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"Delete the ticket. Once its gone, its gone.","slug":"ticket-delete","type":"endpoint","title":"Ticket delete"}

deleteTicket delete

Delete the ticket. Once its gone, its gone.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

TicketID:
required
integer
The ticket id

Documentation

[block:api-header] { "type": "basic", "title": "Library examples" } [/block] [block:code] { "codes": [ { "code": "curl \\\n -X DELETE \\\n -H \"Content-Type: application/json\" \\\n -u \"testuser:moy1zZCscHpx7ei8CzNA\" \\\n https://api.attendly.net/v2/ticket/902", "language": "curl" } ] } [/block]