---
title: "POST /v1/projects/{projectsId}/firewallpolicies:reorder"
method: POST
path: "/v1/projects/{projectsId}/firewallpolicies:reorder"
tags: ["projects"]
---

# POST /v1/projects/{projectsId}/firewallpolicies:reorder

`POST /v1/projects/{projectsId}/firewallpolicies:reorder`

## Request

- Base URL: `https://recaptchaenterprise.googleapis.com`
- URL: `https://recaptchaenterprise.googleapis.com/v1/projects/{projectsId}/firewallpolicies:reorder`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Reorders all firewall policies.

## Path parameters

- `projectsId` string, required

## Request body

- GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest: The reorder firewall policies request message.
  - `names` string[]: Required. A list containing all policy names, in the new order. Each name is in the format `projects/{project}/firewallpolicies/{firewallpolicy}`.

## Response `200`

Successful response

- GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse: The reorder firewall policies response message.

---

[API](https://skmtc.dev/google/apis/recaptchaenterprise.md) - [All operations](https://skmtc.dev/google/apis/recaptchaenterprise/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/recaptchaenterprise/revisions/26f34c638048?raw)
