---
title: "Scan Engine Shared Secret Time to live"
method: GET
path: "/api/3/scan_engines/shared_secret/time_to_live"
tags: ["Scan Engine"]
---

# Scan Engine Shared Secret Time to live

`GET /api/3/scan_engines/shared_secret/time_to_live`

Returns the number of seconds remaining for the current shared secret before it expires, if one has been previously generated and it has not yet expired; otherwise the endpoint will respond with a 404 status code.

## Response `200`

OK

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/rapid7/apis/rapid7-vm-api.md) · [All operations](https://skmtc.net/rapid7/apis/rapid7-vm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapid7/rapid7-vm-api/versions/3a8197c22d71/schema)
