---
title: "Suggest Policies"
method: POST
path: "/api/identity-providers/{idp_id}/suggest-policies"
tags: ["identity-providers"]
---

# Suggest Policies

`POST /api/identity-providers/{idp_id}/suggest-policies`

## Request

- Base URL: `https://www.gateco.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://www.gateco.ai/api/identity-providers/{idp_id}/suggest-policies`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

Generate conservative policy starting points from IDP principal data.

Analyzes synced principals from the specified IDP and returns suggested
policy configurations grouped by group membership and department attributes.
Requires Team or above plan (policy_studio feature).

## Path parameters

- `idp_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gateco/apis/gateco-api.md) · [All operations](https://skmtc.dev/gateco/apis/gateco-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gateco/apis/gateco-api/revisions/5debaf204950?raw)
