isWorkspaceExists
isWorkspaceExists
Path Parameters
workspaceName string required
Header Parameters
Content-Type string
Example: application/x-www-form-urlencoded
application/json
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 - OK | Successfully done. | |
| 201 - OK | Successfully created. | |
| 400 - Bad Request | The request was unacceptable, often due to missing a required parameter. | |
| 401 - Unauthorized | Unauthorized access try with correct access. | |
| 402 - Request Failed | The parameters were valid but the request failed. | |
| 403 - Forbidden | The Application doesn't have permissions to perform the request. | |
| 404 - Not Found | The requested resource doesn't exist | |
| 500 - Server Errors | Something went wrong on ezto auth's end. (These are rare.) | |
| 503 - Server Errors | Service temporarily unavailable |
Loading...