Get All

Get All (Tenant Profile) #

Gets all Tenant Profiles available on your Reseller Account.

GET /v1.0/accounts/{ACCOUNT_TENANT_ID}/customers/{CUSTOMER_TENANT_ID}/tenantprofiles

Example #

This request will get all the tenant profiles.

Request #

GET https://api.na.myreports.cloud/api/v1.0/accounts/{ACCOUNT_TENANT_ID}/customers/{CUSTOMER_TENANT_ID}/tenantprofiles HTTP/1.1
Authorization: Bearer {TOKEN}

Response #

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: xx
{
	"page_size": 4,
	"data": [
	{
            "id": "TenantProfileType_clientonly",
            "name": "ClientOnly",
            "description": "This is the Client Only profile"
        }, {
            "id": "TenantProfileType_insights",
            "name": "Insights",
            "description": "This is the Insights profile"
        }, {
            "id": "TenantProfileType_analytics",
            "name": "Analytics",
            "description": "This is the Analytics profile"
        }
	],
	"status": "success",
	"timestamp": "2019-01-01T10:00:00.2890319Z"
}

Errors #

Unauthorized #

When the token is not provided, invalid or expired

HTTP/1.1 401 Unauthorized