Checks if a domain exists​
Checks if a domain exists
Path Parameters
domain string required
application/json
application/grpc
application/grpc-web+proto
Request Body required
object
Request Body required
object
Request Body required
object
Responses
- 200
- 403
- 404
- default
A successful response.
application/json
application/grpc
application/grpc-web+proto
Schema
Example (from schema)
Schema
exists boolean
{
"exists": true
}
Schema
Example (from schema)
Schema
exists boolean
{
"exists": true
}
Schema
Example (from schema)
Schema
exists boolean
{
"exists": true
}
Returned when the user does not have permission to access the resource.
application/json
application/grpc
application/grpc-web+proto
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
application/json
application/grpc
application/grpc-web+proto
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
application/json
application/grpc
application/grpc-web+proto
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
POST /domains/:domain/_exists
Request
Request
curl / cURL
curl -L -X POST 'https://$CUSTOM-DOMAIN/system/v1/domains/:domain/_exists' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{}'
python / requests
curl -L -X POST 'https://$CUSTOM-DOMAIN/system/v1/domains/:domain/_exists' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{}'
go / native
curl -L -X POST 'https://$CUSTOM-DOMAIN/system/v1/domains/:domain/_exists' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{}'
nodejs / axios
curl -L -X POST 'https://$CUSTOM-DOMAIN/system/v1/domains/:domain/_exists' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{}'
ruby / Net::HTTP
curl -L -X POST 'https://$CUSTOM-DOMAIN/system/v1/domains/:domain/_exists' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{}'
csharp / RestSharp
curl -L -X POST 'https://$CUSTOM-DOMAIN/system/v1/domains/:domain/_exists' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{}'
php / cURL
curl -L -X POST 'https://$CUSTOM-DOMAIN/system/v1/domains/:domain/_exists' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{}'
java / OkHttp
curl -L -X POST 'https://$CUSTOM-DOMAIN/system/v1/domains/:domain/_exists' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{}'
powershell / RestMethod
curl -L -X POST 'https://$CUSTOM-DOMAIN/system/v1/domains/:domain/_exists' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{}'