# validate-domain

##### Definition

- This operation allows to validate the user domain and return the IDP ower of the user.

##### URL

- &lt;console-domain&gt;/webservice/federation/rest/validate-domain

##### Method

- POST

##### Headers

- Accept = “application/json”
- Content-Type = “application/json”

##### Authentication

- Use the “admin” user of the Soffid IAM Console

##### Request (body JSON)

- domain → domain of the user (right side of the email)

```
{
    "domain" : "arxus.eu"
}
```

##### Response (JSON)

- exists → \[yes|no\]
- identityProvider → identity provider public ID

```
{
    "exists": "yes",
    "identityProvider": "http://stasts-sof.arxus.eu/adfs/services/trust"
}
```