---
title: "Change the order of global alert policy"
method: POST
path: "/api/{cloudId}/v1/alerts/policies/{policyId}/change-order"
tags: ["Policies"]
---

# Change the order of global alert policy

`POST /api/{cloudId}/v1/alerts/policies/{policyId}/change-order`

## Request

- Base URL: `https://api.atlassian.com/jsm/ops`
- URL: `https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/alerts/policies/{policyId}/change-order`
- Auth: one of:
  - HTTP basic
  - OAuth 2
    - Authorization code: `https://auth.stg.atlassian.com/authorize`
    - Token URL: `https://auth.stg.atlassian.com/oauth/token` scopes: `read:ops-config:jira-service-management`

Change the order of global alert policy

## Request body

- ChangePolicyOrderRequest
  - `order` number: new policy order

## Response `204`

Returned if the policy is deleted successfully.

## Other responses

- `401`: Returned if the authentication credentials are incorrect.
- `404`: Returned if the maintenance is not found.
- `422`: Returned if the payload cannot be validated.

---

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