Skip to main content

isWorkspaceExists

isWorkspaceExists

Path Parameters
    workspaceName string required
Header Parameters
    Content-Type string
    Example: application/x-www-form-urlencoded

Request Body

tenantNamestringRequired

Name of the workspace.

Sample Request Body
{
"realm": "Sample",
"accountCreator": {
"email": "groot@gmail.com"
}
}

Response

messagestring

true/false for workspace exist or not.

statusstring

Status of Request.

datastring

Workspace url

Sample Response
{
"message": "true",
"status": "OK",
"data": "http://eztoauth.com/auth/admin/grootan/console/"
}
HTTP STATUS CODE SUMMARY
200 - OKSuccessfully done.
201 - OKSuccessfully created.
400 - Bad RequestThe request was unacceptable, often due to missing a required parameter.
401 - UnauthorizedUnauthorized access try with correct access.
402 - Request FailedThe parameters were valid but the request failed.
403 - ForbiddenThe Application doesn't have permissions to perform the request.
404 - Not FoundThe requested resource doesn't exist
500 - Server ErrorsSomething went wrong on ezto auth's end. (These are rare.)
503 - Server ErrorsService temporarily unavailable

Loading...