VirusTotal · Capability

VirusTotal API v3 - Access Control — Access Control - User Management

VirusTotal API v3 - Access Control — Access Control - User Management. 5 operations. Lead operation: Delete a User. Self-contained Naftiko capability covering one VirusTotal business surface.

Run with Naftiko VirusTotalAccess ControlUser Management

What You Can Do

DELETE
Deleteuserid — VirusTotal Delete a User
/v1/users/{id}
GET
User — VirusTotal Get a User Object
/v1/users/{id}
PATCH
Patchuserid — VirusTotal Update a User Object
/v1/users/{id}
GET
Getusersrelationshipsids — VirusTotal Get Object Descriptors Related to a User
/v1/users/{id}/relationships/{relationship}
GET
Usersrelationships — VirusTotal Get Objects Related to a User
/v1/users/{id}/{relationship}

MCP Tools

delete-user

VirusTotal Delete a User

idempotent
get-user-object

VirusTotal Get a User Object

read-only idempotent
update-user-object

VirusTotal Update a User Object

idempotent
get-object-descriptors-related-user

VirusTotal Get Object Descriptors Related to a User

read-only idempotent
get-objects-related-user

VirusTotal Get Objects Related to a User

read-only idempotent

Capability Spec

access-control-access-control-user-management.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: VirusTotal API v3 - Access Control — Access Control - User Management
  description: 'VirusTotal API v3 - Access Control — Access Control - User Management. 5 operations. Lead operation: Delete a User. Self-contained Naftiko capability covering one VirusTotal business surface.'
  tags:
  - VirusTotal
  - Access Control
  - User 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-user-management
    baseUri: https://www.virustotal.com/api/v3
    description: VirusTotal API v3 - Access Control — Access Control - User Management. Self-contained, no shared references.
    authentication:
      type: apikey
      key: x-apikey
      value: '{{env.VIRUSTOTAL_API_KEY}}'
      placement: header
    resources:
    - name: users-id
      path: /users/{id}
      operations:
      - name: deleteUserId
        method: DELETE
        description: VirusTotal Delete a User
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
          description: User ID or API key
        - name: x-user-password
          in: header
          type: string
          required: true
          description: User password, needed as confirmation.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: user
        method: GET
        description: VirusTotal Get a User Object
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
          description: User ID or API key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patchUserId
        method: PATCH
        description: VirusTotal Update a User Object
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
          description: User ID or API key
        - name: body
          in: body
          type: object
          required: false
          description: Request body payload.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: users-id-relationships-relationship
      path: /users/{id}/relationships/{relationship}
      operations:
      - name: getUsersRelationshipsIds
        method: GET
        description: VirusTotal Get Object Descriptors Related to a User
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
          description: Username or API key
        - name: relationship
          in: path
          type: string
          required: true
          description: Relationship name (see [table](ref:user-object#relationships))
        - name: limit
          in: query
          type: integer
          required: false
          description: Maximum number of related objects to retrieve
        - name: cursor
          in: query
          type: string
          required: false
          description: Continuation cursor
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: users-id-relationship
      path: /users/{id}/{relationship}
      operations:
      - name: usersRelationships
        method: GET
        description: VirusTotal Get Objects Related to a User
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
          description: Username or API key
        - name: relationship
          in: path
          type: string
          required: true
          description: Relationship name (see [table](ref:user-object#relationships))
        - name: limit
          in: query
          type: integer
          required: false
          description: Maximum number of related objects to retrieve
        - name: cursor
          in: query
          type: string
          required: false
          description: Continuation cursor
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: access-control-access-control-user-management-rest
    port: 8080
    description: REST adapter for VirusTotal API v3 - Access Control — Access Control - User Management. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/users/{id}
      name: users-id
      description: REST surface for /users/{id}.
      operations:
      - method: DELETE
        name: deleteUserId
        description: VirusTotal Delete a User
        call: access-control-access-control-user-management.deleteUserId
        outputParameters:
        - type: object
          mapping: $.
        with:
          id: rest.id
          x-user-password: rest.x-user-password
      - method: GET
        name: user
        description: VirusTotal Get a User Object
        call: access-control-access-control-user-management.user
        outputParameters:
        - type: object
          mapping: $.
        with:
          id: rest.id
      - method: PATCH
        name: patchUserId
        description: VirusTotal Update a User Object
        call: access-control-access-control-user-management.patchUserId
        outputParameters:
        - type: object
          mapping: $.
        with:
          id: rest.id
          body: rest.body
    - path: /v1/users/{id}/relationships/{relationship}
      name: users-id-relationships-relationship
      description: REST surface for /users/{id}/relationships/{relationship}.
      operations:
      - method: GET
        name: getUsersRelationshipsIds
        description: VirusTotal Get Object Descriptors Related to a User
        call: access-control-access-control-user-management.getUsersRelationshipsIds
        outputParameters:
        - type: object
          mapping: $.
        with:
          id: rest.id
          relationship: rest.relationship
          limit: rest.limit
          cursor: rest.cursor
    - path: /v1/users/{id}/{relationship}
      name: users-id-relationship
      description: REST surface for /users/{id}/{relationship}.
      operations:
      - method: GET
        name: usersRelationships
        description: VirusTotal Get Objects Related to a User
        call: access-control-access-control-user-management.usersRelationships
        outputParameters:
        - type: object
          mapping: $.
        with:
          id: rest.id
          relationship: rest.relationship
          limit: rest.limit
          cursor: rest.cursor
  - type: mcp
    namespace: access-control-access-control-user-management-mcp
    port: 9090
    transport: http
    description: MCP adapter for VirusTotal API v3 - Access Control — Access Control - User Management. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: delete-user
      description: VirusTotal Delete a User
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: access-control-access-control-user-management.deleteUserId
      outputParameters:
      - type: object
        mapping: $.
      with:
        id: tools.id
        x-user-password: tools.x-user-password
    - name: get-user-object
      description: VirusTotal Get a User Object
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: access-control-access-control-user-management.user
      outputParameters:
      - type: object
        mapping: $.
      with:
        id: tools.id
    - name: update-user-object
      description: VirusTotal Update a User Object
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: access-control-access-control-user-management.patchUserId
      outputParameters:
      - type: object
        mapping: $.
      with:
        id: tools.id
        body: tools.body
    - name: get-object-descriptors-related-user
      description: VirusTotal Get Object Descriptors Related to a User
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: access-control-access-control-user-management.getUsersRelationshipsIds
      outputParameters:
      - type: object
        mapping: $.
      with:
        id: tools.id
        relationship: tools.relationship
        limit: tools.limit
        cursor: tools.cursor
    - name: get-objects-related-user
      description: VirusTotal Get Objects Related to a User
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: access-control-access-control-user-management.usersRelationships
      outputParameters:
      - type: object
        mapping: $.
      with:
        id: tools.id
        relationship: tools.relationship
        limit: tools.limit
        cursor: tools.cursor