跳到主要内容

Check the domain ownership

GET /api/2.0/mailserver/domains/ownership/check

Checks if a web domain specified in the request belongs to the current user or not.

Request body​

name​

type: string

Web domain name

Example: "string"

Request example​

{
"name": "string"
}

Returns​

Boolean value: true - current user is the domain owner, false - current user is not the domain owner. A request that is not authenticated returns 401.