SweetConnect LogoSweetConnect
ApiTenants

Get all tenants

Get all tenants

GET
/v1/tenants
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://test.sweetconnect.io/api/auth/v1/tenants"
{
  "data": {
    "tenants": [
      {
        "id": "string",
        "name": "string",
        "activated": true,
        "attributes": {}
      }
    ]
  },
  "meta": {
    "responseTime": 0,
    "count": 0
  }
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}