Sumo Logic · Capability

Sumo Logic API — dataDeletionRules

Sumo Logic API — dataDeletionRules. 5 operations. Lead operation: Get A List Of Data Deletion Rules. Self-contained Naftiko capability covering one Sumo Logic business surface.

Run with Naftiko Sumo LogicdataDeletionRules

What You Can Do

GET
Listdeletionrules — Get A List Of Data Deletion Rules
/v1/v1/datadeletionrules
POST
Createdatadeletionrule — Create A New Data Deletion Rule
/v1/v1/datadeletionrules
GET
Getdatadeletionrule — Get Data Deletion Rule Information For The Given Id.
/v1/v1/datadeletionrules/{id}
POST
Canceldatadeletionrule — Cancel The Data Deletion Rule With The Given Id.
/v1/v1/datadeletionrules/{id}/cancel
DELETE
Deletedatadeletionrule — Delete The Data Deletion Rule With The Given Id.
/v1/v1/datadeletionrules/{id}/delete

MCP Tools

get-list-data-deletion-rules

Get A List Of Data Deletion Rules

read-only idempotent
create-new-data-deletion-rule

Create A New Data Deletion Rule

get-data-deletion-rule-information

Get Data Deletion Rule Information For The Given Id.

read-only idempotent
cancel-data-deletion-rule-given

Cancel The Data Deletion Rule With The Given Id.

delete-data-deletion-rule-given

Delete The Data Deletion Rule With The Given Id.

idempotent

Capability Spec

sumo-logic-datadeletionrules.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sumo Logic API — dataDeletionRules
  description: 'Sumo Logic API — dataDeletionRules. 5 operations. Lead operation: Get A List Of Data Deletion Rules. Self-contained
    Naftiko capability covering one Sumo Logic business surface.'
  tags:
  - Sumo Logic
  - dataDeletionRules
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SUMO_LOGIC_API_KEY: SUMO_LOGIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: sumo-logic-datadeletionrules
    baseUri: https://api.au.sumologic.com/api
    description: Sumo Logic API — dataDeletionRules business capability. Self-contained, no shared references.
    resources:
    - name: v1-dataDeletionRules
      path: /v1/dataDeletionRules
      operations:
      - name: listdeletionrules
        method: GET
        description: Get A List Of Data Deletion Rules
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Limit the number of deletion Rules returned in the response
        - name: token
          in: query
          type: string
          description: Continuation token to get the next page of results. A page object with the next continuation token
            is returned in the response body. Subsequent GET requests sho
      - name: createdatadeletionrule
        method: POST
        description: Create A New Data Deletion Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-dataDeletionRules-id
      path: /v1/dataDeletionRules/{id}
      operations:
      - name: getdatadeletionrule
        method: GET
        description: Get Data Deletion Rule Information For The Given Id.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Identifier of the Deletion Rule to fetch
          required: true
    - name: v1-dataDeletionRules-id-cancel
      path: /v1/dataDeletionRules/{id}/cancel
      operations:
      - name: canceldatadeletionrule
        method: POST
        description: Cancel The Data Deletion Rule With The Given Id.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Identifier of the Deletion Rule to cancel
          required: true
    - name: v1-dataDeletionRules-id-delete
      path: /v1/dataDeletionRules/{id}/delete
      operations:
      - name: deletedatadeletionrule
        method: DELETE
        description: Delete The Data Deletion Rule With The Given Id.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Identifier of the Deletion Rule to delete
          required: true
    authentication:
      type: basic
      username: '{{env.SUMO_LOGIC_USER}}'
      password: '{{env.SUMO_LOGIC_PASS}}'
  exposes:
  - type: rest
    namespace: sumo-logic-datadeletionrules-rest
    port: 8080
    description: REST adapter for Sumo Logic API — dataDeletionRules. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/datadeletionrules
      name: v1-datadeletionrules
      description: REST surface for v1-dataDeletionRules.
      operations:
      - method: GET
        name: listdeletionrules
        description: Get A List Of Data Deletion Rules
        call: sumo-logic-datadeletionrules.listdeletionrules
        with:
          limit: rest.limit
          token: rest.token
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdatadeletionrule
        description: Create A New Data Deletion Rule
        call: sumo-logic-datadeletionrules.createdatadeletionrule
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/datadeletionrules/{id}
      name: v1-datadeletionrules-id
      description: REST surface for v1-dataDeletionRules-id.
      operations:
      - method: GET
        name: getdatadeletionrule
        description: Get Data Deletion Rule Information For The Given Id.
        call: sumo-logic-datadeletionrules.getdatadeletionrule
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/datadeletionrules/{id}/cancel
      name: v1-datadeletionrules-id-cancel
      description: REST surface for v1-dataDeletionRules-id-cancel.
      operations:
      - method: POST
        name: canceldatadeletionrule
        description: Cancel The Data Deletion Rule With The Given Id.
        call: sumo-logic-datadeletionrules.canceldatadeletionrule
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/datadeletionrules/{id}/delete
      name: v1-datadeletionrules-id-delete
      description: REST surface for v1-dataDeletionRules-id-delete.
      operations:
      - method: DELETE
        name: deletedatadeletionrule
        description: Delete The Data Deletion Rule With The Given Id.
        call: sumo-logic-datadeletionrules.deletedatadeletionrule
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sumo-logic-datadeletionrules-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sumo Logic API — dataDeletionRules. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-list-data-deletion-rules
      description: Get A List Of Data Deletion Rules
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-datadeletionrules.listdeletionrules
      with:
        limit: tools.limit
        token: tools.token
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-data-deletion-rule
      description: Create A New Data Deletion Rule
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sumo-logic-datadeletionrules.createdatadeletionrule
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-data-deletion-rule-information
      description: Get Data Deletion Rule Information For The Given Id.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-datadeletionrules.getdatadeletionrule
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: cancel-data-deletion-rule-given
      description: Cancel The Data Deletion Rule With The Given Id.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sumo-logic-datadeletionrules.canceldatadeletionrule
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-data-deletion-rule-given
      description: Delete The Data Deletion Rule With The Given Id.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: sumo-logic-datadeletionrules.deletedatadeletionrule
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.