Skip to main content
GET
/
api
/
v2
/
admin
/
tenants
/
{id}
Get tenant details
curl --request GET \
  --url https://faisalshop.mvp-apps.ae/api/v2/admin/tenants/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Overview

Retrieve detailed information about a specific tenant. You must be a member of the tenant to view its details.

Authorization

  • User must be authenticated with a valid Bearer token
  • User must be a member of the tenant

Example Usage

curl -X GET \
  https://faisalshop.mvp-apps.ae/api/v2/admin/tenants/123 \
  -H 'Authorization: Bearer YOUR_TOKEN'
const response = await axios.get(
  `/api/v2/admin/tenants/${tenantId}`,
  {
    headers: {
      Authorization: `Bearer ${token}`
    }
  }
);

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tenantId
integer
required

Tenant ID

Response

200 - application/json

Tenant details

id
integer
name
string
created_at
string<date-time>