CData · Schema

ServiceAccountRoleAssignment

A direct role assignment made via POST /service-accounts/{id}/roles.

DataData AccessData ConnectivityDatabaseNoSQLSQLA2A

Properties

Name Type Description
id string Assignment identifier.
service_account_id string The service account this role is assigned to.
role_id string The role identifier.
role_name string The name of the role.
role_type string Always `system_role` (admin) for assignments made via this endpoint.
grant_type string Always `direct`.
granted_at string ISO 8601 UTC.
granted_by string The user who granted the role.
View JSON Schema on GitHub

JSON Schema

cdata-service-account-role-assignment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cdata/main/json-schema/cdata-service-account-role-assignment-schema.json",
  "title": "ServiceAccountRoleAssignment",
  "description": "A direct role assignment made via POST /service-accounts/{id}/roles.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cdata-service-accounts-api-openapi.yml#/components/schemas/ServiceAccountRoleAssignment",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Assignment identifier."
    },
    "service_account_id": {
      "type": "string",
      "format": "uuid",
      "description": "The service account this role is assigned to."
    },
    "role_id": {
      "type": "string",
      "format": "uuid",
      "description": "The role identifier."
    },
    "role_name": {
      "type": "string",
      "description": "The name of the role."
    },
    "role_type": {
      "type": "string",
      "enum": [
        "system_role"
      ],
      "description": "Always `system_role` (admin) for assignments made via this endpoint."
    },
    "grant_type": {
      "type": "string",
      "enum": [
        "direct"
      ],
      "description": "Always `direct`."
    },
    "granted_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 UTC."
    },
    "granted_by": {
      "type": "string",
      "format": "uuid",
      "description": "The user who granted the role."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cdata-service-account-role-assignment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.