SIMBA Chain Client Credentials API

The Client Credentials API from SIMBA Chain — 10 operation(s) for client credentials.

Operations 17

POST /organisations/{organisation_name}/client_credentials/ Create Client Credential #
GET /organisations/{organisation_name}/client_credentials/ Get Client Credentials #
PUT /organisations/{organisation_name}/client_credentials/ Admin Add Client Credential To Org Or Domain #
GET /organisations/{organisation_name}/client_credentials/{client_id} Get Client Credential #
PUT /organisations/{organisation_name}/client_credentials/{client_id} Update Client Credential #
DELETE /organisations/{organisation_name}/client_credentials/{client_id} Revoke Client Credential #
PUT /organisations/{organisation_name}/client_credentials/{client_id}/roles/ Update Client Credential Roles #
POST /organisations/{organisation_name}/client_credentials/{client_id}/roles/add/ Add Organisation Client Credential Roles #
DELETE /organisations/{organisation_name}/client_credentials/{client_id}/roles/remove/ Remove Organisation Client Credential Roles #
PUT /organisations/{organisation_name}/client_credentials/{client_id}/refresh Refresh Client Credential Secret #
GET /user_accounts/{user_account_id}/client_credentials/ Get User Client Credentials #
POST /user_accounts/{user_account_id}/client_credentials/ Create Impersonate User Client Credentials #
GET /user_accounts/{user_account_id}/client_credentials/{client_id} Get User Client Credential #
PUT /user_accounts/{user_account_id}/client_credentials/{client_id} Update User Client Credential #
DELETE /user_accounts/{user_account_id}/client_credentials/{client_id} Revoke User Client Credential #
PUT /user_accounts/{user_account_id}/client_credentials/{client_id}/refresh User Refresh User Client Credential Secret #
GET /client_credentials/ List Global Client Credentials #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/simba-chain-client-credentials-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

simba-chain-client-credentials-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Member Service Client Credentials API
  version: 2.10.1
tags:
- name: Client Credentials
paths:
  /organisations/{organisation_name}/client_credentials/:
    post:
      tags:
      - Client Credentials
      summary: Create Client Credential
      operationId: create_client_credential_organisations__organisation_name__client_credentials__post
      parameters:
      - name: organisation_name
        in: path
        required: true
        schema:
          type: string
          title: Organisation Name
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateClientCredentialInput'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FreshClientCredential'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
    get:
      tags:
      - Client Credentials
      summary: Get Client Credentials
      operationId: get_client_credentials_organisations__organisation_name__client_credentials__get
      parameters:
      - name: organisation_name
        in: path
        required: true
        schema:
          type: string
          title: Organisation Name
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Size
      - name: id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Id
      - name: name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
      - name: revoked
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Revoked
      - name: expire_at__gte
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expire At  Gte
      - name: expire_at__lte
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expire At  Lte
      - name: user_account_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: User Account Id
      - name: organisation_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Organisation Id
      - name: impersonate_user
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Impersonate User
      - name: order_by
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          default: created_at
          title: Order By
      - name: expired
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Expired
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_ClientCredential_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
    put:
      tags:
      - Client Credentials
      summary: Admin Add Client Credential To Org Or Domain
      operationId: admin_add_client_credential_to_org_or_domain_organisations__organisation_name__client_credentials__put
      parameters:
      - name: organisation_name
        in: path
        required: true
        schema:
          type: string
          title: Organisation Name
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdminAddClientCredentialToOrgDomain'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: string
                format: uuid
                title: Response Admin Add Client Credential To Org Or Domain Organisations  Organisation Name  Client Credentials  Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
  /organisations/{organisation_name}/client_credentials/{client_id}:
    get:
      tags:
      - Client Credentials
      summary: Get Client Credential
      operationId: get_client_credential_organisations__organisation_name__client_credentials__client_id__get
      parameters:
      - name: organisation_name
        in: path
        required: true
        schema:
          type: string
          title: Organisation Name
      - name: client_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Client Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientCredential'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
    put:
      tags:
      - Client Credentials
      summary: Update Client Credential
      operationId: update_client_credential_organisations__organisation_name__client_credentials__client_id__put
      parameters:
      - name: organisation_name
        in: path
        required: true
        schema:
          type: string
          title: Organisation Name
      - name: client_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Client Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateClientCredentialInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: string
                format: uuid
                title: Response Update Client Credential Organisations  Organisation Name  Client Credentials  Client Id  Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
    delete:
      tags:
      - Client Credentials
      summary: Revoke Client Credential
      operationId: revoke_client_credential_organisations__organisation_name__client_credentials__client_id__delete
      parameters:
      - name: organisation_name
        in: path
        required: true
        schema:
          type: string
          title: Organisation Name
      - name: client_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Client Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
  /organisations/{organisation_name}/client_credentials/{client_id}/roles/:
    put:
      tags:
      - Client Credentials
      summary: Update Client Credential Roles
      operationId: update_client_credential_roles_organisations__organisation_name__client_credentials__client_id__roles__put
      parameters:
      - name: organisation_name
        in: path
        required: true
        schema:
          type: string
          title: Organisation Name
      - name: client_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Client Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateIdentityRolesInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: string
                format: uuid
                title: Response Update Client Credential Roles Organisations  Organisation Name  Client Credentials  Client Id  Roles  Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
  /organisations/{organisation_name}/client_credentials/{client_id}/roles/add/:
    post:
      tags:
      - Client Credentials
      summary: Add Organisation Client Credential Roles
      operationId: add_organisation_client_credential_roles_organisations__organisation_name__client_credentials__client_id__roles_add__post
      parameters:
      - name: organisation_name
        in: path
        required: true
        schema:
          type: string
          title: Organisation Name
      - name: client_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Client Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddIdentityRolesInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: string
                format: uuid
                title: Response Add Organisation Client Credential Roles Organisations  Organisation Name  Client Credentials  Client Id  Roles Add  Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
  /organisations/{organisation_name}/client_credentials/{client_id}/roles/remove/:
    delete:
      tags:
      - Client Credentials
      summary: Remove Organisation Client Credential Roles
      operationId: remove_organisation_client_credential_roles_organisations__organisation_name__client_credentials__client_id__roles_remove__delete
      parameters:
      - name: organisation_name
        in: path
        required: true
        schema:
          type: string
          title: Organisation Name
      - name: client_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Client Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddIdentityRolesInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: string
                format: uuid
                title: Response Remove Organisation Client Credential Roles Organisations  Organisation Name  Client Credentials  Client Id  Roles Remove  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
  /organisations/{organisation_name}/client_credentials/{client_id}/refresh:
    put:
      tags:
      - Client Credentials
      summary: Refresh Client Credential Secret
      operationId: refresh_client_credential_secret_organisations__organisation_name__client_credentials__client_id__refresh_put
      parameters:
      - name: organisation_name
        in: path
        required: true
        schema:
          type: string
          title: Organisation Name
      - name: client_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Client Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FreshClientCredential'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
  /user_accounts/{user_account_id}/client_credentials/:
    get:
      tags:
      - Client Credentials
      summary: Get User Client Credentials
      operationId: get_user_client_credentials_user_accounts__user_account_id__client_credentials__get
      parameters:
      - name: user_account_id
        in: path
        required: true
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: User Account Id
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Size
      - name: id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Id
      - name: name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
      - name: revoked
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Revoked
      - name: expire_at__gte
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expire At  Gte
      - name: expire_at__lte
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expire At  Lte
      - name: organisation_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Organisation Id
      - name: impersonate_user
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Impersonate User
      - name: order_by
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          default: created_at
          title: Order By
      - name: expired
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Expired
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_ClientCredential_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
    post:
      tags:
      - Client Credentials
      summary: Create Impersonate User Client Credentials
      operationId: create_impersonate_user_client_credentials_user_accounts__user_account_id__client_credentials__post
      parameters:
      - name: user_account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: User Account Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateImpersonateClientCredentialInput'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FreshClientCredential'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
  /user_accounts/{user_account_id}/client_credentials/{client_id}:
    get:
      tags:
      - Client Credentials
      summary: Get User Client Credential
      operationId: get_user_client_credential_user_accounts__user_account_id__client_credentials__client_id__get
      parameters:
      - name: user_account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: User Account Id
      - name: client_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Client Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientCredential'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
    put:
      tags:
      - Client Credentials
      summary: Update User Client Credential
      operationId: update_user_client_credential_user_accounts__user_account_id__client_credentials__client_id__put
      parameters:
      - name: user_account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: User Account Id
      - name: client_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Client Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateClientCredentialInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: string
                format: uuid
                title: Response Update User Client Credential User Accounts  User Account Id  Client Credentials  Client Id  Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
    delete:
      tags:
      - Client Credentials
      summary: Revoke User Client Credential
      operationId: revoke_user_client_credential_user_accounts__user_account_id__client_credentials__client_id__delete
      parameters:
      - name: user_account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: User Account Id
      - name: client_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Client Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
  /user_accounts/{user_account_id}/client_credentials/{client_id}/refresh:
    put:
      tags:
      - Client Credentials
      summary: User Refresh User Client Credential Secret
      operationId: user_refresh_user_client_credential_secret_user_accounts__user_account_id__client_credentials__client_id__refresh_put
      parameters:
      - name: user_account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: User Account Id
      - name: client_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Client Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FreshClientCredential'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /client_credentials/:
    get:
      tags:
      - Client Credentials
      summary: List Global Client Credentials
      operationId: list_global_client_credentials_client_credentials__get
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Size
      - name: id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Id
      - name: name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
      - name: revoked
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Revoked
      - name: expire_at__gte
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expire At  Gte
      - name: expire_at__lte
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expire At  Lte
      - name: user_account_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: User Account Id
      - name: organisation_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Organisation Id
      - name: impersonate_user
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Impersonate User
      - name: order_by
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          default: created_at
          title: Order By
      - name: expired
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Expired
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_ClientCredential_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2AuthorizationCodeBearer: []
components:
  schemas:
    RoleMinimal:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
        name:
          type: string
          title: Name
      type: object
      required:
      - name
      title: RoleMinimal
    OrganisationWithRoles:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
        name:
          type: string
          title: Name
        display_name:
          type: string
          title: Display Name
        is_domain:
          type: boolean
          title: Is Domain
        system_type:
          anyOf:
          - $ref: '#/components/schemas/SystemTypes'
          - type: 'null'
        roles:
          items:
            $ref: '#/components/schemas/RoleMinimal'
          type: array
          title: Roles
      type: object
      required:
      - name
      - display_name
      - is_domain
      - roles
      title: OrganisationWithRoles
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CreateClientCredentialInput:
      properties:
        name:
          type: string
          title: Name
        expire_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expire At
        sub_organisations:
          items:
            type: string
          type: array
          minItems: 0
          title: Sub Organisations
          description: List of sub organisation names for the domain
          default: []
      type: object
      required:
      - name
      title: CreateClientCredentialInput
    AdminAddClientCredentialToOrgDomain:
      properties:
        role_ids:
          items:
            type: string
            format: uuid
          type: array
          title: Role Ids
          default: []
        role_names:
          items:
            type: string
          type: array
          title: Role Names
          default: []
        client_id:
          type: string
          format: uuid
          title: Client Id
        sub_organisations:
          anyOf:
          - items:
              $ref: '#/components/schemas/CreateInviteSubOrgsInput'
            type: array
            minItems: 0
          - type: 'null'
          title: Sub Organisations
          description: List of sub organisations for the domain
      type: object
      required:
      - client_id
      title: AdminAddClientCredentialToOrgDomain
    SystemTypes:
      type: string
      enum:
      - ensure
      - build
      - dpp
      - see
      title: SystemTypes
    AddIdentityRolesInput:
      properties:
        role_ids:
          items:
            type: string
            format: uuid
          type: array
          title: Role Ids
          default: []
        role_names:
          items:
            type: string
          type: array
          title: Role Names
          default: []
      type: object
      title: AddIdentityRolesInput
    Organisation:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
        name:
          type: string
          title: Name
        display_name:
          type: string
          title: Display Name
        is_domain:
          type: boolean
          title: Is Domain
        system_type:
          anyOf:
          - $ref: '#/components/schemas/SystemTypes'
          - type: 'null'
      type: object
      required:
      - name
      - display_name
      - is_domain
      title: Organisation
      description: 'A model representing an organisation.


        The field `name` is unique.'
    ClientCredential:
      properties:
        secret:
          type: string
          title: Secret
        id:
          type: string
          format: uuid
          title: Id
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
        name:
          type: string
          title: Name
        revoked:
          type: boolean
          title: Revoked
        expire_at:
          type: string
          format: date-time
          title: Expire At
        last_used:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Used
        user_account_id:
          type: string
          format: uuid
          title: User Account Id
        organisation:
          anyOf:
          - $ref: '#/components/schemas/Organisation'
          - type: 'null'
        impersonate_user:
          type: boolean
          title: Impersonate User
        simba_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Simba Id
        organisations:
          items:
            $ref: '#/components/schemas/OrganisationWithRoles'
          type: array
          minItems: 0
          title: Organisations
          description: List of organisations
          default: []
      type: object
      required:
      - secret
      - name
      - revoked
      - expire_at
      - user_account_id
      - impersonate_user
      title: ClientCredential
    FreshClientCredential:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        simba_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Simba Id
        name:
          type: string
          title: Name
        secret:
          type: string
          title: Secret
      type: object
      required:
      - id
      - name
      - secret
      title: FreshClientCredential
      description: Only time the plain secret is provided, at it's creation
    CreateImpersonateClientCredentialInput:
      properties:
        name:
          type: string
          title: Name
        expire_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expire At
      type: object
      required:
      - name
      title: CreateImpersonateClientCredentialInput
    CreateInviteSubOrgsInput:
      properties:
        organisation_name:
          type: string
          title: Organisation Name
          description: The name of the sub organisation
        role_ids:
          items:
            type: string
            format: uuid
          type: array
          

# --- truncated at 32 KB (34 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/simba-chain/refs/heads/main/openapi/simba-chain-client-credentials-api-openapi.yml