---
title: "Validate secret name"
method: GET
path: "/pipeline-secrets/validate"
tags: ["pipeline-secrets"]
---

# Validate secret name

`GET /pipeline-secrets/validate`

Confirms the validity of the given pipeline secret name in a user context. Append `?name=<your_secret_name>`. Append `?workspaceId` to validate the name in a workspace context.

## Query parameters

- `workspaceId` integer
- `name` string

## Response `204`

OK - No content

## Other responses

- `400` — Bad request
- `403` — Operation not allowed
- `409` — Duplicate element

---

[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)
