---
title: "Get lockout policy"
method: GET
path: "/resources/configurations/v1/lockout-policy"
tags: ["Lockout policy"]
---

# Get lockout policy

`GET /resources/configurations/v1/lockout-policy`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/configurations/v1/lockout-policy`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/configurations/v1/lockout-policy/get.ts> (a function with typed inputs; its response is checked against the schema)

This route gets the lockout policy for all tenants or one tenant specifically. To get the lockout policy for a specific tenant, send the tenant’s ID in the **`frontegg-tenant-id`** header.

## Headers

- `frontegg-tenant-id` string

## Response `200`

- LockoutPolicyResponse
  - `id` string, required
  - `enabled` boolean, required
  - `maxAttempts` number, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `404`: Lockout policy is not defined

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
