---
title: "Validate if a role name is available within the organization"
method: GET
path: "/roles/validate"
tags: ["roles"]
---

# Validate if a role name is available within the organization

`GET /roles/validate`

## Query parameters

- `name` string
- `orgId` integer

## Response `204`

No content - Role name is valid and available

## Other responses

- `400` — Bad request
- `403` — Operation not allowed
- `409` — Role name already exists

## Changes

> 14 revisions in range; 1 not diffed, 2 could not be searched.

- **2026-04-20** `b2b5cc41d473` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/seqeralabs/apis/seqera-api/changes/roles/validate/get.md)

---

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