curl -X GET https://cp.gosentrix.io/api/v1/tenants \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{ "results": [ { "id": "tenant-123", "name": "My Company", "slug": "my-company", "status": "active", "created_at": "2024-01-01T00:00:00Z" } ], "count": 1 }
Manage tenant information
curl -X GET https://cp.gosentrix.io/api/v1/tenants/{tenant_id} \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
curl -X PATCH https://cp.gosentrix.io/api/v1/tenants/{tenant_id} \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "Updated Company Name" }'