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

---

[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/versions/13316c9fe5ff/schema)
