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

# Cut a source in the cell

> Every key of the source stops authenticating in this cell within seconds.



## OpenAPI

````yaml openapi/en/cell.json POST /v1/sources/{source_id}/revoke
openapi: 3.1.0
info:
  title: Niadra data API
  version: '1'
  description: >-
    Writing, context, history, objects, identity, privacy and governance of one
    space. Every space has a stable address, with the space and the region in
    its name.
servers:
  - url: https://{space}.{region}.api.niadra.com
    variables:
      space:
        default: acme-prod
        description: The space, which comes in the source key.
      region:
        default: us-east-1
        description: The region of the space, which also comes in the key.
security: []
paths:
  /v1/sources/{source_id}/revoke:
    post:
      tags:
        - sources
      summary: Cut a source in the cell
      description: >-
        Every key of the source stops authenticating in this cell within
        seconds; the control plane's

        revocation, sent by the Console with the same key, makes it permanent.


        **Authentication.** Console person token with the `security` role (or
        admin), or a source key with the `admin` scope.
      operationId: revoke_source_v1_sources__source_id__revoke_post
      parameters:
        - in: path
          name: source_id
          required: true
          schema:
            format: uuid
            title: Source Id
            type: string
          example: 0192f79e-11aa-7b20-9f3e-6c1d2e4f5a60
        - in: header
          name: Idempotency-Key
          required: true
          schema:
            maxLength: 256
            minLength: 1
            title: Idempotency-Key
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceRevocationOut'
              example:
                source_id: 0192f79e-11aa-7b20-9f3e-6c1d2e4f5a60
                revoked_at: '2026-09-22T18:00:02Z'
                revoked_key_ids:
                  - k7Q2mX9a
                  - p3Lw8Zc1
          description: >-
            The source is cut in this cell; `revoked_key_ids` lists the keys
            that stopped working.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - sourceKey: []
        - personToken: []
components:
  schemas:
    SourceRevocationOut:
      additionalProperties: false
      properties:
        revoked_at:
          format: date-time
          title: Revoked At
          type: string
        revoked_key_ids:
          items:
            type: string
          title: Revoked Key Ids
          type: array
        source_id:
          format: uuid
          title: Source Id
          type: string
      required:
        - source_id
        - revoked_key_ids
        - revoked_at
      title: SourceRevocationOut
      type: object
    Problem:
      additionalProperties: false
      description: RFC 9457 problem details; `code` comes from the versioned error catalog.
      properties:
        code:
          title: Code
          type: string
        detail:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Detail
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Request Id
        status:
          title: Status
          type: integer
        title:
          title: Title
          type: string
        type:
          default: about:blank
          title: Type
          type: string
      required:
        - title
        - status
        - code
      title: Problem
      type: object
  securitySchemes:
    sourceKey:
      type: http
      scheme: bearer
      description: nia_sk_...
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````