2020-05-01 / 5143阅 / 悠然
Checks whether a site name is already taken.
The name is the site’s subdomain or the site’s subdirectory path depending>
(string)
(Required)
The domain to be checked.
(string)
(Required)
The path to be checked.
(int)
(Optional)
Network ID. Relevant>Default value: 1
(int|null) The site ID if the site name exists, null otherwise.