POST
/
identity-providers
/
{idp_id}
/
domains
Associate Domain with Identity Provider
curl --request POST \
  --url https://{tenantDomain}/my-org/identity-providers/{idp_id}/domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "domain": "my-domain.com"
}'
{
  "domains": [
    "acme.com",
    "my-domain.com"
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

idp_id
string
required

Identity provider identifier.

Body

application/json

Response

201
application/json

Domain successfully associated with identity provider.

The response is of type object.