Delete an event registrant
delete
/api/rest/2.0/data/eventRegistration/{parentId}/instance/{id}
Deletes registrant for the event specified by the
parentId
and id
parametersRequest
Supported Media Types
- application/json
Path Parameters
-
id(required): integer
Id of the event registrant.
-
parentId(required): integer
Id of the parent event.
Response
Supported Media Types
- application/json
200 Response
OK.
400 Response
Bad request. See Status Codes for information about other possible HTTP status codes.
401 Response
Unauthorized. See Status Codes for information about other possible HTTP status codes.
403 Response
Forbidden. See Status Codes for information about other possible HTTP status codes.
404 Response
The requested resource was not found. See Status Codes for information about other possible HTTP status codes.
500 Response
The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Examples
Delete the event registrants whose Id = 34, for the event with Id #12:
DELETE /api/REST/2.0/data/eventRegistration/12/instance/34
Response status:
200 OK
For DELETE
requests, there is no body returned.