Skip to content

OPS markunquarantined

OPS: Device Mark Unquarantined

This call should be made in order to indicate that a device that has been quarantined does not need to be quarantined any longer. Three cheers for the device!!!

Endpoint: /api/v1/ops/device/:scanid/markunquarantined

Verb: POST

Payload: None

Example Response:

{
    "api_code": 0,
    "error": null
}

or

{
    "api_code": 1002,
    "error": {
        "error_code": 10002,
        "error_message": "Erorr message",
        "error_detail": "Optional additional details about error",
        "suggestion": "Optional suggestion on how to resolve error",
        "callstack": "Optional debug callstack."
    }
}

If an error occurred, the api_code will be one of the following:

  • ApiErrorInvalidURLFields
  • ApiErrorRequestStructureInvalid
  • ApiErrorGemServerError

If the api code is ApiErrorGemServerError, the error_code in the error structure provides more detail. See https://studio.wevr.com/wevr/projects/gem/gem-platform/-/wikis/GEM-Server-Codes for error codes contained therein.