---
title: "Initiate a Https test on a Gateway"
method: POST
path: "/network-troubleshooting/v1/gateways/{serial-number}/https"
tags: ["Gateways"]
---

# Initiate a Https test on a Gateway

`POST /network-troubleshooting/v1/gateways/{serial-number}/https`

Starts an asynchronous Https test on the specified Gateway.

## Path parameters

- `serial-number` string, required

## Request body

- HttpsMcRequest
  - `url` string, required — Hostname/IP address required
  - `count` integer — Number of ping packets to send (1-10)
  - `interval` integer — Time between ping packets in seconds (1-10)
  - `includeRawOutput` boolean — Whether to include raw output in the response.

## Response `202`

Accepted. The operation has been successfully initiated. The response includes the location to track the operation's status.

- AsyncOperationStatus
  - `location` string, uri-reference — The relative URL path to query the status and result of the asynchronous operation.
  - `status` 'INITIATED' — The initial status of the operation.
  - `startTime` string, date-time — ISO 8601 timestamp indicating when the operation was initiated.

## Other responses

- `400` — Bad Request. Validation errors in the request body or parameters, or invalid parameters for the specific device.
- `401` — Unauthorized. Authentication credentials are required or invalid.
- `403` — Forbidden: Access is denied.
- `404` — Not Found. The device with the specified serial number was not found.
- `409` — Conflict. The device is currently offline.
- `429` — Too Many Requests. The user has sent too many requests in a given amount of time.
- `500` — Internal Server Error. An unexpected error occurred on the server.

---

[API](https://skmtc.dev/arubanetworks/apis/authorization.md) · [All operations](https://skmtc.dev/arubanetworks/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/arubanetworks/authorization/revisions/74c95058b11f/schema)
