Delete
Delete variable.
https://api.nucle.cloud/v1/variable/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. |
Response
Name | Type | Description |
---|---|---|
200 OK | object | Deleted variable object. |
400 Bad Request | object | The outer wrapper for all responses with errors. |
Variable Object
Name | Type | Description |
---|---|---|
rank | int | The variable rank in the variables list |
id | string | The variable id |
userId | string | The user id of variable. |
value | string | The variable value. |
lastUpdate | Date Time | The last update of the variable. |
displayName | string | The variable user displayname. |
coutryCode | string | The variable user country code. |
Error Object
Name | Type | Description |
---|---|---|
code | int | Numerical HTTP code |
status | string | Description of the HTTP code. |
errorMessage | string | Description of the error |