Skip to main content
The Management API base URL is https://cloud.cdata.com/api/v1/admin.
The Management API is currently in beta as part of a design partner program.

Authentication

All Management API requests must use OAuth 2.0 client credentials of Client Id and Client Secret. Existing PATs and Basic Auth credentials do not work with this API. Step 1: Request a bearer token
Step 2: Call the Management API

Pagination

Collection responses use cursor-based pagination. All collection responses share the same envelope:
Total counts are not returned. Iterate using next_cursor until it is null.

Errors

Error responses use a consistent structure:
The code field is a SCREAMING_SNAKE_CASE string suitable for programmatic handling. The message field is a human-readable description.

Identities

The Management API manages two types of identities.

Users

Human users are provisioned and lifecycle-managed by SCIM when your organization has SCIM configured. The Management API handles direct overrides (for example, contractors or break-glass accounts) and atomic deprovisioning. Users created directly via the API carry scim_managed: false.

Service Accounts

Service accounts are machine identities for CI/CD pipelines, IaC tooling, and Terraform automation. Service accounts are not SCIM-owned and authenticate via OAuth 2.0 client credentials using the client_id returned on creation.

Access Model

A principal’s effective access is the union of the following independent sources:
  • Direct role assignments–assigned individually to a user or service account (via Assign User Role or the equivalent service account endpoint).
  • Group-derived role assignments–inherited via SCIM group membership (users only).
  • Direct permissions–resource-level grants assigned individually (via Assign User Permission or the equivalent service account endpoint).

Roles

Two role types exist in Connect AI: The account-wide admin system role is assigned via POST /users/{id}/roles or POST /service-accounts/{id}/roles.
Custom role management (create, update, delete access roles) is not yet available in the Management API.

Built-In System Roles

Workspace-scoped role assignment endpoints are not yet available. Currently, only the account-wide admin role can be assigned via the Management API.