> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracecat.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Issue Scim Token

> Create or rotate the SCIM connection token.

The raw token is returned only in this response.



## OpenAPI

````yaml https://platform.tracecat.com/api/openapi.json post /scim/connection
openapi: 3.1.0
info:
  title: Tracecat API
  summary: Tracecat API
  description: The open source AI automation platform for security teams and agents.
  termsOfService: >-
    https://docs.google.com/document/d/e/2PACX-1vQvDe3SoVAPoQc51MgfGCP71IqFYX_rMVEde8zC4qmBCec5f8PLKQRdxa6tsUABT8gWAR9J-EVs2CrQ/pub
  contact:
    name: Tracecat Founders
    email: founders@tracecat.com
  license:
    name: AGPL-3.0
    url: https://www.gnu.org/licenses/agpl-3.0.html
  version: '1'
servers:
  - url: /api
security: []
tags:
  - name: public
    description: Public facing endpoints
  - name: workflows
    description: Workflow management
  - name: actions
    description: Action management
  - name: triggers
    description: Workflow triggers
  - name: secrets
    description: Secret management
  - name: variables
    description: Workspace variable management
paths:
  /scim/connection:
    post:
      tags:
        - scim
      summary: Issue Scim Token
      description: |-
        Create or rotate the SCIM connection token.

        The raw token is returned only in this response.
      operationId: scim-issue_scim_token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScimConnectionTokenRead'
      security:
        - APIKeyCookie: []
        - ServiceAccountApiKeyBearer: []
components:
  schemas:
    ScimConnectionTokenRead:
      properties:
        connection:
          $ref: '#/components/schemas/ScimConnectionRead'
        token:
          type: string
          title: Token
      type: object
      required:
        - connection
        - token
      title: ScimConnectionTokenRead
      description: A freshly issued token. The raw value is returned exactly once.
    ScimConnectionRead:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        preview:
          type: string
          title: Preview
        status:
          $ref: '#/components/schemas/ScimConnectionStatus'
        last_used_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Used At
        revoked_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Revoked At
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - organization_id
        - preview
        - status
        - created_at
        - updated_at
      title: ScimConnectionRead
      description: Status of an organization's SCIM connection. Never carries the token.
    ScimConnectionStatus:
      type: string
      enum:
        - pending
        - active
        - disabled
      title: ScimConnectionStatus
      description: Whether the provider's pushes admit users yet.
  securitySchemes:
    APIKeyCookie:
      type: apiKey
      in: cookie
      name: fastapiusersauth
    ServiceAccountApiKeyBearer:
      type: http
      description: Tracecat service account API key.
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.