---
ai:
  exclude: true
search:
  tags:
    - project
    - DELETE
seo:
  description: >-
    Unassigns… Reference for the DELETE
    /api/2/project/{projectKeyOrId}/priorityscheme/{schemeId} endpoint in the
    Jira Software Data Center REST API Reference.
sidebar:
  label: Unassign project from priority scheme
  badge: DELETE
title: Unassign project from priority scheme
type: openapi-operation
---
Unassigns project from priority scheme. Operation will fail for defualt priority scheme, project is not found or project is not associated with provided priority scheme. All project keys associated with the priority scheme will only be returned if additional query parameter is provided expand=projectKeys.

`DELETE /api/2/project/{projectKeyOrId}/priorityscheme/{schemeId}`

**Responses**

- `200` — Affected priority scheme.
- `400` — Returned if the request is not valid and the priority scheme could not be updated. Eg. provided scheme is default priority scheme or project is not associated with scheme.
- `403` — Returned if the user does not have rights to assign priority schemes.
- `404` — Returned if project or priority scheme is not found.

Response example, 200:

```json
{
  "defaultOptionId": "string",
  "defaultScheme": true,
  "description": "string",
  "id": 0,
  "name": "string",
  "optionIds": [
    "string"
  ],
  "projectKeys": [
    "string"
  ],
  "self": "http://example.com"
}
```
