VirusTotal · Capability

VirusTotal API v3 - Access Control — Access Control - Service Account Management

VirusTotal API v3 - Access Control — Access Control - Service Account Management. 3 operations. Lead operation: Get Service Accounts of a Group. Self-contained Naftiko capability covering one VirusTotal business surface.

Run with Naftiko VirusTotalAccess ControlService Account Management

What You Can Do

GET
Getserviceaccountsofagroup — VirusTotal Get Service Accounts of a Group
/v1/groups/{id}/relationships/service_accounts
POST
Createanewserviceaccount — VirusTotal Create a New Service Account
/v1/groups/{id}/relationships/service_accounts
GET
Getaserviceaccountobject — VirusTotal Get a Service Account Object
/v1/service_accounts/{id}

MCP Tools

get-service-accounts-group

VirusTotal Get Service Accounts of a Group

read-only idempotent
create-new-service-account

VirusTotal Create a New Service Account

get-service-account-object

VirusTotal Get a Service Account Object

read-only idempotent

Capability Spec

access-control-access-control-service-account-management.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: VirusTotal API v3 - Access Control — Access Control - Service Account Management
  description: 'VirusTotal API v3 - Access Control — Access Control - Service Account Management. 3 operations. Lead operation: Get Service Accounts of a Group. Self-contained Naftiko capability covering
    one VirusTotal business surface.'
  tags:
  - VirusTotal
  - Access Control
  - Service Account Management
  created: '2026-05-29'
  modified: '2026-05-29'
binds:
- namespace: env
  keys:
    VIRUSTOTAL_API_KEY: VIRUSTOTAL_API_KEY
capability:
  consumes:
  - type: http
    namespace: access-control-access-control-service-account-management
    baseUri: https://www.virustotal.com/api/v3
    description: VirusTotal API v3 - Access Control — Access Control - Service Account Management. Self-contained, no shared references.
    authentication:
      type: apikey
      key: x-apikey
      value: '{{env.VIRUSTOTAL_API_KEY}}'
      placement: header
    resources:
    - name: groups-id-relationships-service-accounts
      path: /groups/{id}/relationships/service_accounts
      operations:
      - name: getServiceAccountsOfAGroup
        method: GET
        description: VirusTotal Get Service Accounts of a Group
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
          description: Group ID.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createANewServiceAccount
        method: POST
        description: VirusTotal Create a New Service Account
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
          description: Group ID.
        - name: body
          in: body
          type: object
          required: false
          description: Request body payload.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: service-accounts-id
      path: /service_accounts/{id}
      operations:
      - name: getAServiceAccountObject
        method: GET
        description: VirusTotal Get a Service Account Object
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
          description: Service Account ID (with the form <group ID>_<service account ID>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: access-control-access-control-service-account-management-rest
    port: 8080
    description: REST adapter for VirusTotal API v3 - Access Control — Access Control - Service Account Management. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/groups/{id}/relationships/service_accounts
      name: groups-id-relationships-service-accounts
      description: REST surface for /groups/{id}/relationships/service_accounts.
      operations:
      - method: GET
        name: getServiceAccountsOfAGroup
        description: VirusTotal Get Service Accounts of a Group
        call: access-control-access-control-service-account-management.getServiceAccountsOfAGroup
        outputParameters:
        - type: object
          mapping: $.
        with:
          id: rest.id
      - method: POST
        name: createANewServiceAccount
        description: VirusTotal Create a New Service Account
        call: access-control-access-control-service-account-management.createANewServiceAccount
        outputParameters:
        - type: object
          mapping: $.
        with:
          id: rest.id
          body: rest.body
    - path: /v1/service_accounts/{id}
      name: service-accounts-id
      description: REST surface for /service_accounts/{id}.
      operations:
      - method: GET
        name: getAServiceAccountObject
        description: VirusTotal Get a Service Account Object
        call: access-control-access-control-service-account-management.getAServiceAccountObject
        outputParameters:
        - type: object
          mapping: $.
        with:
          id: rest.id
  - type: mcp
    namespace: access-control-access-control-service-account-management-mcp
    port: 9090
    transport: http
    description: MCP adapter for VirusTotal API v3 - Access Control — Access Control - Service Account Management. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: get-service-accounts-group
      description: VirusTotal Get Service Accounts of a Group
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: access-control-access-control-service-account-management.getServiceAccountsOfAGroup
      outputParameters:
      - type: object
        mapping: $.
      with:
        id: tools.id
    - name: create-new-service-account
      description: VirusTotal Create a New Service Account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: access-control-access-control-service-account-management.createANewServiceAccount
      outputParameters:
      - type: object
        mapping: $.
      with:
        id: tools.id
        body: tools.body
    - name: get-service-account-object
      description: VirusTotal Get a Service Account Object
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: access-control-access-control-service-account-management.getAServiceAccountObject
      outputParameters:
      - type: object
        mapping: $.
      with:
        id: tools.id