delete https://api.accelevents.com/rest/host/ticketing//accessCode/
This API is used to delete access code details by id associated with the specified event.
This API can be accessed by an event admin and super admin. It will return data like type and message.
To call this API, user will have to pass query param with API URL like recurringEventId, id and authentication key to authenticate user.
Here is the description of response attributes, which returns to the form of JSON.
It will return a success message if API execute successfully.
Attribute | Description |
---|---|
type | This field returns a type of message like success or error. |
message | This contains a message for response that can be used to display to end user. |
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
200 | Success. |
204 | No Content. |
400 | The request could not be understood by the server due to malformed syntax. |
401 | You are not authorized to view the resource. |
403 | Accessing the resource you were trying to reach is forbidden. |
404 | The resource you were trying to reach is not found. |
4030201 | Not Event Host. |
4040019 | Access code not found. |