Delete
Delete event.
https://api.nucle.cloud/v1/event/delete
Request Header
Name | Type | Required | Description |
---|---|---|---|
UserToken | string | True | The User Token, available from the Login methods. |
Request Body
Name | Type | Required | Description |
---|---|---|---|
presetId | string | True | The preset id. |
date | DateTime | True | The event date. |
Response
Name | Type | Description |
---|---|---|
200 OK | object | Deleted event object. |
400 Bad Request | object | The outer wrapper for all responses with errors. |
Event Object
Name | Type | Description |
---|---|---|
date | DateTime | The event date, |
count | int | The event count in date. |
Error Object
Name | Type | Description |
---|---|---|
code | int | Numerical HTTP code |
status | string | Description of the HTTP code. |
errorMessage | string | Description of the error |