> For the complete documentation index, see [llms.txt](https://docs.p0.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.p0.dev/p0-management/management-api.md).

# Management API

The P0 Management API allows organizations to customize platform settings, including role-based access (Owner, Manager, Approver), approval policies, maximum and standing access durations, and customized access durations—making it easy to enforce just-in-time access and tailor access workflows.

By automating settings like role-based access controls (e.g., who can approve access), maximum access durations, and standing access policies, you can:

* **Standardize access policies** across teams and environments
* **Enforce least privilege** with short-lived access by default
* **Integrate governance** into DevOps and CI/CD pipelines
* **Adapt quickly** to changes in org structure or compliance requirements
* **Reduce human error** by managing configurations via code

{% content-ref url="/pages/LqkcvIA1tVAYSd77d3F5" %}
[Role management API](/p0-management/management-api/role-management-api.md)
{% endcontent-ref %}

{% content-ref url="/pages/V8sw0WlvMjJ4b0pGKW2G" %}
[Just-in-time settings API](/p0-management/management-api/just-in-time-settings-api.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.p0.dev/p0-management/management-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
