SDK reference

Tenant: users, groups, roles and policies

Each route's function in the SDK, its call beside the same request in cURL.
orgTenantAccessRequests

GET/v1/orgs/:orgId/tenant/access-requests

The organisation's open and recent access requests from its members (tenant:read).

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/access-requests' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgTenantAccessRequestsByRequestId

POST/v1/orgs/:orgId/tenant/access-requests/:requestId

Answers an access request (answer, and groupId when it grants through a group); owners and admins only (tenant:write). The person who asked is told.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/access-requests/{requestId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "answer": "allow"
  }'
orgTenantGroups

GET/v1/orgs/:orgId/tenant/groups

Groups with their size, owners and the roles they grant.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/groups' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgTenantGroups

POST/v1/orgs/:orgId/tenant/groups

Creates a group; owners default to the person creating it. role is a built-in role members get (not owner).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/groups' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example"
  }'
orgTenantGroupsByTeamId

GET/v1/orgs/:orgId/tenant/groups/:teamId

Members, owners, granted roles, Serverless App Service and repository access, and app assignments.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/groups/{teamId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
patchOrgTenantGroupsByTeamId

PATCH/v1/orgs/:orgId/tenant/groups/:teamId

Name, description, the built-in role members get (null removes it) and custom roles.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/groups/{teamId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "description": "example",
    "role": "admin"
  }'
deleteOrgTenantGroupsByTeamId

DELETE/v1/orgs/:orgId/tenant/groups/:teamId

Deletes the group with its memberships, access and assignments (members keep their own roles).

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/groups/{teamId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putOrgTenantGroupsMembersByUserId

PUT/v1/orgs/:orgId/tenant/groups/:teamId/members/:userId

Adds a member or changes their group role (owner manages the group's members, member).

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/groups/{teamId}/members/{userId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "role": "member"
  }'
deleteOrgTenantGroupsMembersByUserId

DELETE/v1/orgs/:orgId/tenant/groups/:teamId/members/:userId

Takes a member out of the group.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/groups/{teamId}/members/{userId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putOrgTenantGroupsGrantsByResourceId

PUT/v1/orgs/:orgId/tenant/groups/:teamId/grants/:resourceType/:resourceId

Gives the group write access to one Serverless App Service or repository.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/groups/{teamId}/grants/{resourceType}/{resourceId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteOrgTenantGroupsGrantsByResourceId

DELETE/v1/orgs/:orgId/tenant/groups/:teamId/grants/:resourceType/:resourceId

Removes the group's write access to the Serverless App Service or repository.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/groups/{teamId}/grants/{resourceType}/{resourceId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenantRoles

GET/v1/orgs/:orgId/tenant/roles

Built-in roles with their scopes, custom roles, and who holds each.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/roles' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgTenantRoles

POST/v1/orgs/:orgId/tenant/roles

Creates a custom role: a named set of scopes added on top of a member's role.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/roles' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "scopes": []
  }'
patchOrgTenantRolesByRoleId

PATCH/v1/orgs/:orgId/tenant/roles/:roleId

Renames a custom role or changes its scopes (you need every scope it grants, before and after).

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/roles/{roleId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "description": "example",
    "scopes": []
  }'
deleteOrgTenantRolesByRoleId

DELETE/v1/orgs/:orgId/tenant/roles/:roleId

Deletes a custom role; members and groups holding it lose its scopes.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/roles/{roleId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgTenantRolesAssignments

POST/v1/orgs/:orgId/tenant/roles/:roleId/assignments

Assigns a role (a built-in role id such as admin, or a custom rol_…) to a member or group. A built-in role replaces a member's role; a group grants one built-in role at most.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/roles/{roleId}/assignments' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "principalType": "user",
    "principalId": "<principalId>"
  }'
deleteOrgTenantRolesAssignmentsByPrincipalId

DELETE/v1/orgs/:orgId/tenant/roles/:roleId/assignments/:principalType/:principalId

Takes a custom role from a member or group, or the built-in role a group grants.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/roles/{roleId}/assignments/{principalType}/{principalId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenantApps

GET/v1/orgs/:orgId/tenant/apps

The org's sign-in clients (per Serverless App Service) with assignment and secret expiry, MCP clients members connected here, and its keys.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/apps' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenantAppsByClientId

GET/v1/orgs/:orgId/tenant/apps/:clientId

One sign-in client: redirect URIs, secret expiry and who is assigned.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/apps/{clientId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
patchOrgTenantAppsByClientId

PATCH/v1/orgs/:orgId/tenant/apps/:clientId

assignmentRequired: only assigned people and groups can sign in (checked at sign-in and every refresh).

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/apps/{clientId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "assignmentRequired": true
  }'
postOrgTenantAppsSecret

POST/v1/orgs/:orgId/tenant/apps/:clientId/secret

Replaces the secret (the old one stops at once) with one valid for expiresInDays (0: no expiry); shown once.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/apps/{clientId}/secret' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "expiresInDays": 180
  }'
postOrgTenantAppsAssignments

POST/v1/orgs/:orgId/tenant/apps/:clientId/assignments

Lets a member or group sign in to an app that requires assignment.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/apps/{clientId}/assignments' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "principalType": "user",
    "principalId": "<principalId>"
  }'
deleteOrgTenantAppsAssignmentsByPrincipalId

DELETE/v1/orgs/:orgId/tenant/apps/:clientId/assignments/:principalType/:principalId

Takes a member's or group's assignment away; their next refresh is refused.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/apps/{clientId}/assignments/{principalType}/{principalId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteOrgTenantAppsConnections

DELETE/v1/orgs/:orgId/tenant/apps/:clientId/connections

Disconnects an MCP client from this org for every member.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/apps/{clientId}/connections' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenantAppAccess

GET/v1/orgs/:orgId/tenant/app-access

Every app the org can switch, with its access (everyone, groups, off), whether the plan has it and how many reach it; and the groups.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/app-access' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putOrgTenantAppAccessByKey

PUT/v1/orgs/:orgId/tenant/app-access/:key

Sets who reaches an app: { access: "everyone" | "groups" | "off", groupIds? }. Owners and admins, themselves; owners and admins always reach it.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/app-access/{key}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "access": "everyone"
  }'
orgTenantAppSwitcher

GET/v1/orgs/:orgId/tenant/app-switcher

Every app the org can hide from the switcher (its apps, never Tenant), in the launcher's order, with whether it does.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/app-switcher' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putOrgTenantAppSwitcherByKey

PUT/v1/orgs/:orgId/tenant/app-switcher/:key

Hides an app from everyone's switcher in the org ({ hidden: true }) or shows it again. Owners and admins, themselves; audited org_app.switcher.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/app-switcher/{key}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "hidden": true
  }'
orgTenantSignIns

GET/v1/orgs/:orgId/tenant/sign-ins

Members' sign-ins and failed sign-ins, newest first: method, address, approximate place, device.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/sign-ins' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenantPoliciesAssistant

GET/v1/orgs/:orgId/tenant/policies/assistant

Caity in this org: on or off, the highest mode, the apps she may use; and the choices.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/policies/assistant' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putOrgTenantPoliciesAssistant

PUT/v1/orgs/:orgId/tenant/policies/assistant

Sets Caity's policy: { enabled, maxMode, apps, publicShares } (apps: null: every app). Narrowing by owners and admins, widening by owners; audited.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/policies/assistant' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "enabled": true,
    "maxMode": "ask",
    "apps": [
      "example"
    ]
  }'
orgTenantPoliciesSharing

GET/v1/orgs/:orgId/tenant/policies/sharing

The sharing policy: how much goes outside the organisation, to which domains, links for how long.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/policies/sharing' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putOrgTenantPoliciesSharing

PUT/v1/orgs/:orgId/tenant/policies/sharing

Sets it: { externalSharing: off|accounts|links, allowedDomains?, linkMaxDays? }. Narrowing by owners and admins, widening by owners; audited. A change that stops links anyone could open tells their owners (linksStopped: how many).

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/policies/sharing' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "externalSharing": "off"
  }'
orgTenantPolicies

GET/v1/orgs/:orgId/tenant/policies

The sign-in policy and the members it would leave without access.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/policies' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putOrgTenantPoliciesSignIn

PUT/v1/orgs/:orgId/tenant/policies/sign-in

Sets the sign-in policy (owners): required strength (any, mfa: a passkey or text codes, passkey), allowed methods, a grace period in days and the longest a sign-in lasts in hours.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/policies/sign-in' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "strength": "any",
    "methods": [
      "password"
    ]
  }'
orgTenantKeys

GET/v1/orgs/:orgId/tenant/keys

Every key of the organization with its creator, scopes, expiry, status and last use (when, address, country, client). Never secrets.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/keys' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteOrgTenantKeysByKeyId

DELETE/v1/orgs/:orgId/tenant/keys/:keyId

Revokes a key of the organization at once; audited as key.revoke.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/keys/{keyId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenantSso

GET/v1/orgs/:orgId/tenant/sso

Single sign-on and SCIM: what to give the identity provider (entity id, ACS, metadata, OpenID Connect redirect and SCIM URLs), the verified domains, the identity provider's settings (SAML certificates' subjects and expiry; the OpenID Connect issuer, client id and secret's last four characters), and the SCIM token's last four characters.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/sso' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putOrgTenantSso

PUT/v1/orgs/:orgId/tenant/sso

Saves the identity provider and turns it on or off. SAML: entity id, https sign-in URL, one or two signing certificates (left out keeps the saved ones). OpenID Connect (protocol: "oidc"): the issuer (its discovery document is read and must name it), client id and client secret (sealed; left out keeps it for the same client, null for a public client). The other protocol's settings are kept. On needs a verified domain. Owners.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/sso' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteOrgTenantSso

DELETE/v1/orgs/:orgId/tenant/sso

Removes the identity provider. Owners.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/sso' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgTenantSsoScimToken

POST/v1/orgs/:orgId/tenant/sso/scim-token

A new SCIM token (replacing any): shown this once.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/sso/scim-token' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "role": "developer"
  }'
deleteOrgTenantSsoScimToken

DELETE/v1/orgs/:orgId/tenant/sso/scim-token

Revokes the SCIM token: provisioning stops. Owners.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/sso/scim-token' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenantUsers

GET/v1/orgs/:orgId/tenant/users

Members with sign-in health; pending invites and removed members (restorable for 30 days).

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/users' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenantUsersExport

GET/v1/orgs/:orgId/tenant/users/export

Every member as CSV (email, name, role, attributes, status, groups, sign-in health).

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/users/export' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenantUsersPermissions

GET/v1/orgs/:orgId/tenant/users/:userId/permissions

What a member may do here, app by app, and why (their role, groups, custom roles, the plan and app access).

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/users/{userId}/permissions' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenantCheckAccess

GET/v1/orgs/:orgId/tenant/check-access

Check access: whether a member (user) or anyone in a group (group) may use an app (app) or holds a scope (scope) here, with every layer that decides it (membership, space, plan, app access, role, custom roles), and the markings they hold, each explained only when the checker holds it too. Reads only.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/check-access' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenantUsersByUserId

GET/v1/orgs/:orgId/tenant/users/:userId

One member: groups, browser sessions, keys they created, app assignments and recent sign-ins.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/users/{userId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
patchOrgTenantUsersByUserId

PATCH/v1/orgs/:orgId/tenant/users/:userId

Role, title, department, and a guest's access end (epoch seconds, or null).

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/users/{userId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "role": "owner",
    "title": {},
    "department": {}
  }'
postOrgTenantUsersBlock

POST/v1/orgs/:orgId/tenant/users/:userId/block

Blocks sign-in to this org: no new tokens; current ones stop at the API and MCP within 30 seconds.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/users/{userId}/block' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "reason": "example"
  }'
postOrgTenantUsersUnblock

POST/v1/orgs/:orgId/tenant/users/:userId/unblock

Unblocks sign-in; the person signs in again to reach the org.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/users/{userId}/unblock' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgTenantUsersRevokeSessions

POST/v1/orgs/:orgId/tenant/users/:userId/revoke-sessions

Ends the person's sessions for this org (they sign in again) and disconnects their MCP clients here; keys also revokes keys they created here.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/users/{userId}/revoke-sessions' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "keys": false
  }'
postOrgTenantUsersPasswordReset

POST/v1/orgs/:orgId/tenant/users/:userId/password-reset

Emails the member a recovery link at their own address; the caller never sees it.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/users/{userId}/password-reset' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteOrgTenantUsersByUserId

DELETE/v1/orgs/:orgId/tenant/users/:userId

Removes the member; restorable with their role, attributes, groups and app assignments for 30 days.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/users/{userId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgTenantRemovedRestore

POST/v1/orgs/:orgId/tenant/removed/:userId/restore

Restores a removed member.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/removed/{userId}/restore' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteOrgTenantRemovedByUserId

DELETE/v1/orgs/:orgId/tenant/removed/:userId

Forgets a removed member now instead of after 30 days.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/removed/{userId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgTenantInvites

POST/v1/orgs/:orgId/tenant/invites

Invites one person by email (replacing a pending invite to the same address); the link is mailed and returned.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/invites' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "person@example.com"
  }'
postOrgTenantInvitesBulk

POST/v1/orgs/:orgId/tenant/invites/bulk

Invites up to 200 people: csv (email[,role[,title[,department]]], header optional) or rows; defaults apply to each. Rows that fail are reported and the rest are sent.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/invites/bulk' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "csv": "example",
    "rows": [
      {
        "email": "person@example.com"
      }
    ],
    "defaults": {
      "role": "developer",
      "title": {},
      "department": {}
    }
  }'
postOrgTenantInvitesResend

POST/v1/orgs/:orgId/tenant/invites/:inviteId/resend

A new link for a pending invite (the old one stops working), mailed again.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/invites/{inviteId}/resend' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteOrgTenantInvitesByInviteId

DELETE/v1/orgs/:orgId/tenant/invites/:inviteId

Revokes a pending invite (the link stops working).

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/invites/{inviteId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenantJoinCodes

GET/v1/orgs/:orgId/tenant/join-codes

Join codes that still work (Invite by Link): role, uses, expiry and who made each; never the codes themselves.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/join-codes' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgTenantJoinCodes

POST/v1/orgs/:orgId/tenant/join-codes

A join code: anyone signed in who has it joins as role (viewer or developer) for days (1, 7 or 30), up to maxUses people (absent or null: anyone with it). The code and its link are in this answer only.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/join-codes' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "role": "viewer",
    "days": 1,
    "maxUses": 1
  }'
deleteOrgTenantJoinCodesByCodeId

DELETE/v1/orgs/:orgId/tenant/join-codes/:codeId

Stops a join code at once; the people it joined stay.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/join-codes/{codeId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenantDomains

GET/v1/orgs/:orgId/tenant/domains

The organisation's domains: each one's TXT record, where its checks stand and joining by it.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/domains' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgTenantDomains

POST/v1/orgs/:orgId/tenant/domains

Adds a domain to verify (owners themselves): its record to publish, checked at once and then on the schedule.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/domains' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "domain": "example"
  }'
postOrgTenantDomainsVerify

POST/v1/orgs/:orgId/tenant/domains/:domain/verify

Verify: a check now; a domain that failed gets another 72 hours.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/domains/{domain}/verify' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
patchOrgTenantDomainsByDomain

PATCH/v1/orgs/:orgId/tenant/domains/:domain

Joining by the domain (owners themselves): off, offered or automatic, as a viewer or developer, as guests or not.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/domains/{domain}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "joinMode": "off"
  }'
deleteOrgTenantDomainsByDomain

DELETE/v1/orgs/:orgId/tenant/domains/:domain

Removes a domain (owners themselves): nobody joins by it, and another organisation can verify it.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/domains/{domain}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgTenant

GET/v1/orgs/:orgId/tenant

Properties, counts, the sign-in policy and recommendations computed from the org's data.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
patchOrgTenant

PATCH/v1/orgs/:orgId/tenant

Name, logo (https), contact address and the default language for members who haven't chosen one.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "logoUri": "https://example.com",
    "contactEmail": "person@example.com"
  }'
putOrgTenantSlug

PUT/v1/orgs/:orgId/tenant/slug

A new slug (owners themselves): the old one keeps redirecting and stays the org's.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/slug' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "slug": "example"
  }'
orgTenantGrantables

GET/v1/orgs/:orgId/tenant/grantables

Serverless App Services and repositories a group can be given write access to.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/grantables' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
auditReviewEntriesSearch

GET/v1/orgs/:orgId/tenant/audit-review/entries

Search the organisation's audit rows and read records

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/audit-review/entries' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
auditReviewFindingsList

GET/v1/orgs/:orgId/tenant/audit-review/findings

List the anomaly rules' findings

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/audit-review/findings' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
auditReviewFindingsDecide

POST/v1/orgs/:orgId/tenant/audit-review/findings/:finding/decide

Dismiss or reopen a finding

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/audit-review/findings/{finding}/decide' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "decision": "dismiss"
  }'
auditReviewRulesGet

GET/v1/orgs/:orgId/tenant/audit-review/rules

The anomaly rules and their thresholds

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/audit-review/rules' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
auditReviewRulesRun

POST/v1/orgs/:orgId/tenant/audit-review/rules/run

Run the anomaly rules over today so far

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/audit-review/rules/run' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
auditReviewCasesCreate

POST/v1/orgs/:orgId/tenant/audit-review/cases

Open a Force case from a review, with the evidence attached

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/audit-review/cases' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "space": "example",
    "summary": "Example"
  }'
auditReviewEntriesExport

POST/v1/orgs/:orgId/tenant/audit-review/export

Export a search's entries with the seals' check

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/audit-review/export' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "from": 1,
    "to": 1,
    "person": "example"
  }'
auditReviewEntriesSummarise

POST/v1/orgs/:orgId/tenant/audit-review/summary

SI's summary of a person's or object's activity, with citations

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/audit-review/summary' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "person": {},
    "object": {},
    "from": {},
    "to": {}
  }'
capabilitiesOrgList

GET/v1/orgs/:orgId/tenant/capabilities

List the organisation's capabilities

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/capabilities' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
capabilitiesOrgSet

PUT/v1/orgs/:orgId/tenant/capabilities/:capabilityId

Set the organisation's value of a capability

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/capabilities/{capabilityId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "value": {}
  }'
capabilitiesOrgClear

DELETE/v1/orgs/:orgId/tenant/capabilities/:capabilityId

Clear the organisation's value of a capability

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/capabilities/{capabilityId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
capabilitiesOrgAutomation

GET/v1/orgs/:orgId/tenant/capabilities/automation

Read the organisation's automation settings

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/capabilities/automation' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
markingsMarkingsList

GET/v1/orgs/:orgId/tenant/markings

List the organisation's markings

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/markings' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
markingsMarkingsCreate

POST/v1/orgs/:orgId/tenant/markings

Make a marking

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/markings' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "label": "Example",
    "category": "level"
  }'
markingsMarkingsUpdate

PATCH/v1/orgs/:orgId/tenant/markings/:markingId

Change a marking

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/markings/{markingId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "label": "Example",
    "category": "level",
    "implies": [
      "example"
    ]
  }'
markingsMarkingsDelete

DELETE/v1/orgs/:orgId/tenant/markings/:markingId

Delete a marking

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/markings/{markingId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
markingsHoldersSet

PUT/v1/orgs/:orgId/tenant/markings/:markingId/holders

Set what a person or group holds of a marking

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/markings/{markingId}/holders' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "principal": "example",
    "rights": [
      "hold"
    ]
  }'
markingsBreakGlassRequest

POST/v1/orgs/:orgId/tenant/markings/:markingId/break-glass

Ask for break-glass access to a marking

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/markings/{markingId}/break-glass' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "reason": "example"
  }'
markingsBreakGlassDecide

POST/v1/orgs/:orgId/tenant/markings/:markingId/break-glass/decision

Sign off or decline a break-glass request

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/markings/{markingId}/break-glass/decision' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "decision": "approved"
  }'
markingsAccessCheck

GET/v1/orgs/:orgId/tenant/markings/:markingId/check

Check whether a person or group holds a marking

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/markings/{markingId}/check' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
markingsBannersGet

GET/v1/orgs/:orgId/tenant/markings/banners

Get the classification banners

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/markings/banners' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
markingsReleaseCheck

POST/v1/orgs/:orgId/tenant/markings/release-check

Check who content may be released to

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/markings/release-check' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "markings": [
      "example"
    ],
    "recipients": [
      {}
    ]
  }'
markingsBannersSet

PUT/v1/orgs/:orgId/tenant/markings/banners

Set the organisation's classification banners

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/markings/banners' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "scheme": "example",
    "rows": [
      {
        "markingId": "<markingId>",
        "wording": "example",
        "tone": "neutral"
      }
    ]
  }'
modelsPolicyGet

GET/v1/orgs/:orgId/tenant/models

Get the organisation's model policy

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/models' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
modelsPolicyPut

PUT/v1/orgs/:orgId/tenant/models

Set the organisation's model policy

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/models' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "models": [
      "example"
    ]
  }'
modelsRegisteredPut

PUT/v1/orgs/:orgId/tenant/models/registered/:slug

Register one of the organisation's own models

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/models/registered/{slug}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "label": "Example",
    "kind": "rest"
  }'
modelsRegisteredDelete

DELETE/v1/orgs/:orgId/tenant/models/registered/:slug

Remove one of the organisation's registered models

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/models/registered/{slug}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
modelsRegisteredKeyPut

PUT/v1/orgs/:orgId/tenant/models/registered/:slug/key

Set a registered model's key

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/models/registered/{slug}/key' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "value": "example"
  }'
modelsRegisteredKeyDelete

DELETE/v1/orgs/:orgId/tenant/models/registered/:slug/key

Remove a registered model's key

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/models/registered/{slug}/key' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
modelsRunsList

GET/v1/orgs/:orgId/tenant/models/runs

List the organisation's agent and AI function runs

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/models/runs' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
readsAuditList

GET/v1/orgs/:orgId/tenant/reads

List who read what through the API and MCP

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/reads' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
releasesOrgGet

GET/v1/orgs/:orgId/tenant/release

Get the organisation's release channel

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/release' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
releasesOrgSet

PUT/v1/orgs/:orgId/tenant/release

Change the organisation's release channel

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/release' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "channel": "example",
    "pin": {
      "release": "example",
      "days": 1
    }
  }'
sealsAuditVerify

GET/v1/orgs/:orgId/tenant/seals/verify

Verify the organisation's audit against its seals

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/seals/verify?day=example' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
tenantSetupGuideSet

PUT/v1/orgs/:orgId/tenant/setup

Change the setup guide

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/tenant/setup' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "step": "invite",
    "done": true,
    "hidden": true
  }'