Only contract administrators, owners, and users with accessAndManageIamResources privilege can create and manage Identity Providers (IDPs) through the API. You can also set user privileges in the DCD. For more information, see Set User Privileges for Identity and Access Management.
The token value obtained from the Request Domain Ownership API must be added to the TXT Domain Record before verifying the domain ownership.
To validate the token is part of the domain which has been already requested for domain ownership, perform a PUT request with the domainId of the domain.
Endpoint
Use the following endpoint to create or update an IDP: https://iam.ionos.com/federation/domains/{domainId}/verify.
Request
Note: The following request contains a sample domainId. Replace them with the domainId value whose domain ownership must be verified.