---
title: "Upload IdP metadata"
method: POST
path: "/api/v1/org/{public_id}/idp_metadata"
tags: ["Organizations"]
---

# Upload IdP metadata

`POST /api/v1/org/{public_id}/idp_metadata`

There are a couple of options for updating the Identity Provider (IdP)
metadata from your SAML IdP.

* **Multipart Form-Data**: Post the IdP metadata file using a form post.

* **XML Body:** Post the IdP metadata file as the body of the request.

## Path parameters

- `public_id` string, required

## Response `200`

OK

- IdpResponse — The IdP response object.
  - `message` string, required — Identity provider response.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `415` — Unsupported Media Type
- `429` — Too many requests

---

[API](https://skmtc.dev/datadog/apis/api-v1.md) · [All operations](https://skmtc.dev/datadog/apis/api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datadog/api-v1/revisions/ca5871004d26/schema)
