SweetConnect LogoSweetConnect
ApiTenants

Get tenant by ID

Get tenant by ID

GET
/v1/tenants/{tenantId}
AuthorizationBearer <token>

In: header

Path Parameters

tenantId*string

The ID of tenant to retrieve

Response Body

application/json

application/json

application/json

application/json

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