# API How-Tos

With IAM Federation APIs, learn how to set user privileges, create and manage Identity Providers (IDPs), request and manage domain ownership, and user account linking with IAM Federation.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Set User Privileges through the API</strong></mark></td><td>Set required user privileges for a user to manage IAM resources.</td><td><a href="/pages/gF6qV9lfYX1GQbZum4Kr">/pages/gF6qV9lfYX1GQbZum4Kr</a></td></tr><tr><td><mark style="color:blue;"><strong>Create Identity Provider</strong></mark></td><td>Learn how to create an IDP for your organization using the API.</td><td><a href="/pages/8EBtrKqVhH9CDNFFpokw">/pages/8EBtrKqVhH9CDNFFpokw</a></td></tr><tr><td><mark style="color:blue;"><strong>Retrieve Identity Provider</strong></mark></td><td>Learn how to retrieve an IDP for an organization using the API.</td><td><a href="/pages/UjpFkSG1fdPo5uCuE22s">/pages/UjpFkSG1fdPo5uCuE22s</a></td></tr><tr><td><mark style="color:blue;"><strong>Retrieve all Identity Providers</strong></mark></td><td>Learn how to retrieve all associated IDPs for an organization using the API.</td><td><a href="/pages/eg5SPXuetwpINKIWZYOW">/pages/eg5SPXuetwpINKIWZYOW</a></td></tr><tr><td><mark style="color:blue;"><strong>Ensure Identity Provider</strong></mark></td><td>Learn how to update an existing IDP of an organization using the API.</td><td><a href="/pages/8olVllHKIZqyvDTmSD2U">/pages/8olVllHKIZqyvDTmSD2U</a></td></tr><tr><td><mark style="color:blue;"><strong>Delete Identity Provider</strong></mark></td><td>Learn how to delete an IDP associated with your organization using the API.</td><td><a href="/pages/tUvs1maJajCxjcXDuYDj">/pages/tUvs1maJajCxjcXDuYDj</a></td></tr><tr><td><mark style="color:blue;"><strong>Request Domain Ownership</strong></mark></td><td>Learn how to map the organization domain to establish IDP connection using the API.</td><td><a href="/pages/hHUI5pyvp5Q4XPEqI5n4">/pages/hHUI5pyvp5Q4XPEqI5n4</a></td></tr><tr><td><mark style="color:blue;"><strong>Retrieve Domain</strong></mark></td><td>Learn how to retrieve the organization domain using the API.</td><td><a href="/pages/VUB3RnfFWOzyzP9szSiG">/pages/VUB3RnfFWOzyzP9szSiG</a></td></tr><tr><td><mark style="color:blue;"><strong>Retrieve all Domains</strong></mark></td><td>Learn how to retrieve all the domains associated with the organization using the API.</td><td><a href="/pages/nH9AEs74h8d1FynrgKku">/pages/nH9AEs74h8d1FynrgKku</a></td></tr><tr><td><mark style="color:blue;"><strong>Verify Domain Ownership</strong></mark></td><td>Learn how to verify the ownership of the domain associated with the organization using the API.</td><td><a href="/pages/pMY66XWrygwM6nzsJjoF">/pages/pMY66XWrygwM6nzsJjoF</a></td></tr><tr><td><mark style="color:blue;"><strong>Retrieve Link</strong></mark></td><td>Learn how to retrieve a link of the account associated with the IAM Federation using the API.</td><td><a href="/pages/mYFvATDgRWJfoGE26sMI">/pages/mYFvATDgRWJfoGE26sMI</a></td></tr><tr><td><mark style="color:blue;"><strong>Retrieve all Links</strong></mark></td><td>Learn how to retrieve all links of the accounts associated with the IAM Federation using the API.</td><td><a href="/pages/5jhKvuCzgMTSYrx8BHJZ">/pages/5jhKvuCzgMTSYrx8BHJZ</a></td></tr></tbody></table>


---

# Agent Instructions: 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.ionos.com/cloud/set-up-ionos-cloud/management/identity-access-management/iam-federation/api-how-tos.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.
