---
title: "Validate SSH key"
method: GET
path: "/ssh-keys/validate/key"
tags: ["ssh-keys"]
---

# Validate SSH key

`GET /ssh-keys/validate/key`

Confirms the availability of the given key for a SSH key in the user context.

## Query parameters

- `key` string

## Response `204`

Ok - No content, if the key is valid.

## Other responses

- `400` — Bad request, if the key is not valid.
- `403` — Operation not allowed.
- `409` — Conflict, key duplicated in the given context.

---

[API](https://skmtc.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/13316c9fe5ff/schema)
