Skip to main content
GET
/
v3
/
orgs
/
{org_id}
/
iam
/
member-stats
cURL
curl --request GET \
  --url https://api.ctrl-hub.com/v3/orgs/{org_id}/iam/member-stats \
  --header 'X-Session-Token: <api-key>'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "<string>",
    "attributes": {
      "members": {
        "users": 1,
        "service_accounts": 1,
        "total": 1
      }
    },
    "relationships": {
      "organisation": {
        "data": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "type": "<string>"
        }
      }
    }
  },
  "jsonapi": {
    "version": "<string>"
  }
}

Authorizations

X-Session-Token
string
header
required

Session token for authentication.

Path Parameters

org_id
string<uuid>
required

The unique identifier for the organisation.

Response

Get member stats.

JSON API response object

data
object
required

Member statistics

jsonapi
object
required