Examples

GET /api/host_statuses
403
{
  "error": {
    "message": "Access denied",
    "details": "Missing one of the required permissions: view_hosts",
    "missing_permissions": [
      "view_hosts"
    ]
  }
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Number of results per page to return, 'all' to return all results

Validations:

  • Must match regular expression /\A([1-9]\d*|all)\Z$/.