> ## Documentation Index
> Fetch the complete documentation index at: https://developer.vanta.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete vendor category

> Deletes a custom vendor category and moves its vendors to the replacement
category. If the request times out, fetch the category before retrying.



## OpenAPI

````yaml /reference/manage-vanta.json delete /vendor-categories/{categoryId}
openapi: 3.0.0
info:
  title: Manage Vanta
  version: 1.0.0
  description: >-
    The REST API lets customers query and mutate Vanta's data. Use this API to
    automate bulk actions, query data for custom workflows and dashboards, and
    bolster your security operations


    **Note for Vanta Gov (FedRAMP) customers:** Select `Vanta Gov (FedRAMP)`
    from the server dropdown to issue requests against
    `https://api.vanta-gov.com`. The OAuth token URL shown below defaults to the
    commercial host — replace it with `https://api.vanta-gov.com/oauth/token`.
  termsOfService: https://www.vanta.com/terms
  license:
    name: UNLICENSED
  contact:
    name: API Support
    url: https://help.vanta.com/
    email: support@vanta.com
servers:
  - url: https://api.vanta.com/v1
    description: Vanta (Commercial)
  - url: https://api.vanta-gov.com/v1
    description: Vanta Gov (FedRAMP)
security: []
paths:
  /vendor-categories/{categoryId}:
    delete:
      tags:
        - Vendor Categories
      summary: Delete vendor category
      description: >-
        Deletes a custom vendor category and moves its vendors to the
        replacement

        category. If the request times out, fetch the category before retrying.
      operationId: DeleteVendorCategory
      parameters:
        - in: path
          name: categoryId
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteVendorCategoryInput'
      responses:
        '204':
          description: No content
      security:
        - bearerAuth: []
components:
  schemas:
    DeleteVendorCategoryInput:
      properties:
        replacementCategoryId:
          type: string
          nullable: true
          description: Category to move vendors to, or null to leave them uncategorized.
      required:
        - replacementCategoryId
      type: object
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

## Related topics

- [Delete vendor by ID](https://developer.vanta.com/api-reference/vendors/delete-vendor-by-id.md)
- [Create vendor category](https://developer.vanta.com/api-reference/vendor-categories/create-vendor-category.md)
- [Update vendor category](https://developer.vanta.com/api-reference/vendor-categories/update-vendor-category.md)
- [List vendor categories](https://developer.vanta.com/api-reference/vendor-categories/list-vendor-categories.md)
- [Get vendor category by ID](https://developer.vanta.com/api-reference/vendor-categories/get-vendor-category-by-id.md)
