---
ai:
  exclude: true
search:
  tags:
    - project
    - GET
seo:
  description: >-
    Returns all security levels… Reference for the GET
    /api/2/project/{projectKeyOrId}/securitylevel endpoint in the Jira Software
    Data Center REST API Reference.
sidebar:
  label: Get all security levels for project
  badge: GET
title: Get all security levels for project
type: openapi-operation
---
Returns all security levels for the project that the current logged in user has access to. If the user does not have the Set Issue Security permission, the list will be empty.

`GET /api/2/project/{projectKeyOrId}/securitylevel`

**Responses**

- `200` — Returns a list of all security levels in a project for which the current user has access.
- `404` — Returned if the project is not found or the user does not have permissions to browse it.

Response example, 200:

```json
{
  "levels": [
    {
      "description": "This is a security level",
      "id": "10000",
      "name": "My Security Level",
      "self": "http://www.example.com/jira/rest/api/2/securitylevel/10000"
    }
  ]
}
```
