Sumo Logic · Capability

Sumo Logic API — serviceAccountManagement

Sumo Logic API — serviceAccountManagement. 10 operations. Lead operation: Get A List Of Service Accounts.. Self-contained Naftiko capability covering one Sumo Logic business surface.

Run with Naftiko Sumo LogicserviceAccountManagement

What You Can Do

GET
Listserviceaccounts — Get A List Of Service Accounts.
/v1/v1/serviceaccounts
POST
Createserviceaccount — Create A New Service Account.
/v1/v1/serviceaccounts
GET
Getserviceaccount — Get A Service Account.
/v1/v1/serviceaccounts/{id}
PUT
Updateserviceaccount — Update A Service Account.
/v1/v1/serviceaccounts/{id}
DELETE
Deleteserviceaccount — Delete A Service Account.
/v1/v1/serviceaccounts/{id}
GET
Listaccesskeysforserviceaccount — List Access Keys For A Service Account.
/v1/v1/serviceaccounts/{serviceaccountid}/accesskeys
POST
Createaccesskeyforserviceaccount — Create A New Access Key For A Service Account.
/v1/v1/serviceaccounts/{serviceaccountid}/accesskeys
GET
Getaccesskeybyidofaserviceaccount — Get An Access Key Of A Service Account.
/v1/v1/serviceaccounts/{serviceaccountid}/accesskeys/{accessid}
PUT
Updateaccesskeyofaserviceaccount — Update An Access Key Of A Service Account.
/v1/v1/serviceaccounts/{serviceaccountid}/accesskeys/{accessid}
DELETE
Deleteaccesskeyofaserviceaccount — Delete An Access Key Of A Service Account.
/v1/v1/serviceaccounts/{serviceaccountid}/accesskeys/{accessid}

MCP Tools

get-list-service-accounts

Get A List Of Service Accounts.

read-only idempotent
create-new-service-account

Create A New Service Account.

get-service-account

Get A Service Account.

read-only idempotent
update-service-account

Update A Service Account.

idempotent
delete-service-account

Delete A Service Account.

idempotent
list-access-keys-service-account

List Access Keys For A Service Account.

read-only idempotent
create-new-access-key-service

Create A New Access Key For A Service Account.

get-access-key-service-account

Get An Access Key Of A Service Account.

read-only idempotent
update-access-key-service-account

Update An Access Key Of A Service Account.

idempotent
delete-access-key-service-account

Delete An Access Key Of A Service Account.

idempotent

Capability Spec

sumo-logic-serviceaccountmanagement.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sumo Logic API — serviceAccountManagement
  description: 'Sumo Logic API — serviceAccountManagement. 10 operations. Lead operation: Get A List Of Service Accounts..
    Self-contained Naftiko capability covering one Sumo Logic business surface.'
  tags:
  - Sumo Logic
  - serviceAccountManagement
  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-serviceaccountmanagement
    baseUri: https://api.au.sumologic.com/api
    description: Sumo Logic API — serviceAccountManagement business capability. Self-contained, no shared references.
    resources:
    - name: v1-serviceAccounts
      path: /v1/serviceAccounts
      operations:
      - name: listserviceaccounts
        method: GET
        description: Get A List Of Service Accounts.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createserviceaccount
        method: POST
        description: Create A New Service Account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-serviceAccounts-id
      path: /v1/serviceAccounts/{id}
      operations:
      - name: getserviceaccount
        method: GET
        description: Get A Service Account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Identifier of service account to return.
          required: true
      - name: updateserviceaccount
        method: PUT
        description: Update A Service Account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Identifier of the service account to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteserviceaccount
        method: DELETE
        description: Delete A Service Account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Identifier of the service account to delete.
          required: true
        - name: transferTo
          in: query
          type: string
          description: Identifier of a user/service account to receive the transfer of content from the deleted service account.
            <br> **Note:** If `deleteContent` is not set to `true`
        - name: deleteContent
          in: query
          type: boolean
          description: Whether to delete content from the deleted service account or not. <br> **Warning:** If `deleteContent`
            is set to `true`, all of the content for the service acc
    - name: v1-serviceAccounts-serviceAccountId-accessKeys
      path: /v1/serviceAccounts/{serviceAccountId}/accessKeys
      operations:
      - name: listaccesskeysforserviceaccount
        method: GET
        description: List Access Keys For A Service Account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: serviceAccountId
          in: path
          type: string
          description: Identifier of the service account.
          required: true
      - name: createaccesskeyforserviceaccount
        method: POST
        description: Create A New Access Key For A Service Account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: serviceAccountId
          in: path
          type: string
          description: Identifier of the service account.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-serviceAccounts-serviceAccountId-accessKeys-accessId
      path: /v1/serviceAccounts/{serviceAccountId}/accessKeys/{accessId}
      operations:
      - name: getaccesskeybyidofaserviceaccount
        method: GET
        description: Get An Access Key Of A Service Account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: serviceAccountId
          in: path
          type: string
          description: Identifier of the service account.
          required: true
        - name: accessId
          in: path
          type: string
          description: Identifier of an access key to return.
          required: true
      - name: updateaccesskeyofaserviceaccount
        method: PUT
        description: Update An Access Key Of A Service Account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: serviceAccountId
          in: path
          type: string
          description: Identifier of the service account.
          required: true
        - name: accessId
          in: path
          type: string
          description: The id of an access key to update of a service account.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteaccesskeyofaserviceaccount
        method: DELETE
        description: Delete An Access Key Of A Service Account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: serviceAccountId
          in: path
          type: string
          description: Identifier of the service account.
          required: true
        - name: accessId
          in: path
          type: string
          description: The Id of the access key to delete of a service account.
          required: true
    authentication:
      type: basic
      username: '{{env.SUMO_LOGIC_USER}}'
      password: '{{env.SUMO_LOGIC_PASS}}'
  exposes:
  - type: rest
    namespace: sumo-logic-serviceaccountmanagement-rest
    port: 8080
    description: REST adapter for Sumo Logic API — serviceAccountManagement. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/serviceaccounts
      name: v1-serviceaccounts
      description: REST surface for v1-serviceAccounts.
      operations:
      - method: GET
        name: listserviceaccounts
        description: Get A List Of Service Accounts.
        call: sumo-logic-serviceaccountmanagement.listserviceaccounts
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createserviceaccount
        description: Create A New Service Account.
        call: sumo-logic-serviceaccountmanagement.createserviceaccount
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/serviceaccounts/{id}
      name: v1-serviceaccounts-id
      description: REST surface for v1-serviceAccounts-id.
      operations:
      - method: GET
        name: getserviceaccount
        description: Get A Service Account.
        call: sumo-logic-serviceaccountmanagement.getserviceaccount
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateserviceaccount
        description: Update A Service Account.
        call: sumo-logic-serviceaccountmanagement.updateserviceaccount
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteserviceaccount
        description: Delete A Service Account.
        call: sumo-logic-serviceaccountmanagement.deleteserviceaccount
        with:
          id: rest.id
          transferTo: rest.transferTo
          deleteContent: rest.deleteContent
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/serviceaccounts/{serviceaccountid}/accesskeys
      name: v1-serviceaccounts-serviceaccountid-accesskeys
      description: REST surface for v1-serviceAccounts-serviceAccountId-accessKeys.
      operations:
      - method: GET
        name: listaccesskeysforserviceaccount
        description: List Access Keys For A Service Account.
        call: sumo-logic-serviceaccountmanagement.listaccesskeysforserviceaccount
        with:
          serviceAccountId: rest.serviceAccountId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createaccesskeyforserviceaccount
        description: Create A New Access Key For A Service Account.
        call: sumo-logic-serviceaccountmanagement.createaccesskeyforserviceaccount
        with:
          serviceAccountId: rest.serviceAccountId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/serviceaccounts/{serviceaccountid}/accesskeys/{accessid}
      name: v1-serviceaccounts-serviceaccountid-accesskeys-accessid
      description: REST surface for v1-serviceAccounts-serviceAccountId-accessKeys-accessId.
      operations:
      - method: GET
        name: getaccesskeybyidofaserviceaccount
        description: Get An Access Key Of A Service Account.
        call: sumo-logic-serviceaccountmanagement.getaccesskeybyidofaserviceaccount
        with:
          serviceAccountId: rest.serviceAccountId
          accessId: rest.accessId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateaccesskeyofaserviceaccount
        description: Update An Access Key Of A Service Account.
        call: sumo-logic-serviceaccountmanagement.updateaccesskeyofaserviceaccount
        with:
          serviceAccountId: rest.serviceAccountId
          accessId: rest.accessId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteaccesskeyofaserviceaccount
        description: Delete An Access Key Of A Service Account.
        call: sumo-logic-serviceaccountmanagement.deleteaccesskeyofaserviceaccount
        with:
          serviceAccountId: rest.serviceAccountId
          accessId: rest.accessId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sumo-logic-serviceaccountmanagement-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sumo Logic API — serviceAccountManagement. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-list-service-accounts
      description: Get A List Of Service Accounts.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-serviceaccountmanagement.listserviceaccounts
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-service-account
      description: Create A New Service Account.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sumo-logic-serviceaccountmanagement.createserviceaccount
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-service-account
      description: Get A Service Account.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-serviceaccountmanagement.getserviceaccount
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-service-account
      description: Update A Service Account.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sumo-logic-serviceaccountmanagement.updateserviceaccount
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-service-account
      description: Delete A Service Account.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: sumo-logic-serviceaccountmanagement.deleteserviceaccount
      with:
        id: tools.id
        transferTo: tools.transferTo
        deleteContent: tools.deleteContent
      outputParameters:
      - type: object
        mapping: $.
    - name: list-access-keys-service-account
      description: List Access Keys For A Service Account.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-serviceaccountmanagement.listaccesskeysforserviceaccount
      with:
        serviceAccountId: tools.serviceAccountId
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-access-key-service
      description: Create A New Access Key For A Service Account.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sumo-logic-serviceaccountmanagement.createaccesskeyforserviceaccount
      with:
        serviceAccountId: tools.serviceAccountId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-access-key-service-account
      description: Get An Access Key Of A Service Account.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-serviceaccountmanagement.getaccesskeybyidofaserviceaccount
      with:
        serviceAccountId: tools.serviceAccountId
        accessId: tools.accessId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-access-key-service-account
      description: Update An Access Key Of A Service Account.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sumo-logic-serviceaccountmanagement.updateaccesskeyofaserviceaccount
      with:
        serviceAccountId: tools.serviceAccountId
        accessId: tools.accessId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-access-key-service-account
      description: Delete An Access Key Of A Service Account.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: sumo-logic-serviceaccountmanagement.deleteaccesskeyofaserviceaccount
      with:
        serviceAccountId: tools.serviceAccountId
        accessId: tools.accessId
      outputParameters:
      - type: object
        mapping: $.