Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

General Information


ServiceAPIMethod
multitenancy/tenantsGET


Workflow: List Tenants Flow 

Data Models: Tenant

Input


Type: application/json
NameSourceMandatoryTypeSpecial FormatDescription
N/AN/AN/AN/AN/AThis API does not need any parameters; it fetches all tenant records.


Output


Valid Response

Valid Response Sample
{
	"result": true,
	"data": []
}


Invalid Response

Error Response Sample
{
    "result":false,
    "errors":{
        "codes":[436],
        "details":[
            {
                "code":436,
                "message":"Unable to find tenants."
            }
        ]
    }
}



Error Codes



Code
Description
436Unable to find tenants.
Example (CURL)

Request

Calling List Groups API
 > CURL -X GET http://127.0.0.1:4004/tenants

Response

List Groups API response
{
   "result": true,
   "data": [
      {
         
      },
      {
         
      }
   ]
}
  • No labels