Remove a lock type
Content
Resource URL
https://apps.ticketmatic.com/api/1/{accountname}/settings/ticketsales/locktypes/{id}
Description
Lock types are archivable: this call won’t actually delete the object from the database. Instead, it will mark the object as archived, which means it won’t show up anymore in most places.
Most object types are archivable and can’t be deleted: this is needed to ensure consistency of historical data.
Example
Request
1use Ticketmatic\Endpoints\Settings\Ticketsales\Locktypes;
2
3Locktypes::delete($client, $id);
Response
This operation does not return a response. The status can be checked by looking at the HTTP status code.
Request
1import (
2 "github.com/ticketmatic/tm-go/ticketmatic"
3 "github.com/ticketmatic/tm-go/ticketmatic/settings/ticketsales/locktypes"
4)
5
6err := locktypes.Delete(client, id)
Response
This operation does not return a response. The status can be checked by looking at the HTTP status code.
Request
1DELETE /api/1/{accountname}/settings/ticketsales/locktypes/{id} HTTP/1.1
Response
This operation does not return a response. The status can be checked by looking at the HTTP status code.