Skip to main content

validate

restish dci validate

Returns the domain and email of the current API user.

Responses​

200 (application/json)​

OK - The domain and email of the API user returned.

{
"type": "object",
"description": "A response confirming caller's domain and email.",
"properties": {
"domain": {
"type": "string"
},
"email": {
"type": "string"
}
}
}

400 (application/json)​

Bad Request - The server cannot process the request, often due to a malformed request.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

401 (application/json)​

Unauthorized - Invalid API key.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

403 (application/json)​

Forbidden - The client is not authorized to perform the request.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

Aliases: validate, validate