Veracode · Capability

Veracode Identity REST API — Business Units

Veracode Identity REST API — Business Units. 2 operations. Lead operation: List Business Units. Self-contained Naftiko capability covering one Veracode business surface.

Run with Naftiko VeracodeBusiness Units

What You Can Do

GET
Listbusinessunits — List Business Units
/v1/api/authn/v2/business-units
POST
Createbusinessunit — Create Business Unit
/v1/api/authn/v2/business-units

MCP Tools

list-business-units

List Business Units

read-only idempotent
create-business-unit

Create Business Unit

Capability Spec

identity-business-units.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Veracode Identity REST API — Business Units
  description: 'Veracode Identity REST API — Business Units. 2 operations. Lead operation: List Business Units. Self-contained
    Naftiko capability covering one Veracode business surface.'
  tags:
  - Veracode
  - Business Units
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VERACODE_API_KEY: VERACODE_API_KEY
capability:
  consumes:
  - type: http
    namespace: identity-business-units
    baseUri: https://api.veracode.com
    description: Veracode Identity REST API — Business Units business capability. Self-contained, no shared references.
    resources:
    - name: api-authn-v2-business_units
      path: /api/authn/v2/business_units
      operations:
      - name: listbusinessunits
        method: GET
        description: List Business Units
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createbusinessunit
        method: POST
        description: Create Business Unit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: identity-business-units-rest
    port: 8080
    description: REST adapter for Veracode Identity REST API — Business Units. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/api/authn/v2/business-units
      name: api-authn-v2-business-units
      description: REST surface for api-authn-v2-business_units.
      operations:
      - method: GET
        name: listbusinessunits
        description: List Business Units
        call: identity-business-units.listbusinessunits
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createbusinessunit
        description: Create Business Unit
        call: identity-business-units.createbusinessunit
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: identity-business-units-mcp
    port: 9090
    transport: http
    description: MCP adapter for Veracode Identity REST API — Business Units. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-business-units
      description: List Business Units
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: identity-business-units.listbusinessunits
      outputParameters:
      - type: object
        mapping: $.
    - name: create-business-unit
      description: Create Business Unit
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: identity-business-units.createbusinessunit
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.