---
title: "Count permissions matching a display name"
method: GET
path: "/api/permissions/exists"
tags: ["Roles & Permissions"]
---

# Count permissions matching a display name

`GET /api/permissions/exists`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/permissions/exists`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/permissions/exists/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns how many permissions have the given display name, compared without case sensitivity. A value greater than zero means the display name is already taken.

## Query parameters

- `name` string, required

## Response `200`

Number of permissions with that display name.

- integer

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
