Get all Vendor Types configured for the account.
🔒 Requires Vendors: List Vendor Types permission.
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": 1,
- "name": "Cloud Provider"
}, - {
- "id": 2,
- "name": "SaaS Application"
}
]
}Create a new vendor type.
🔒 Requires Vendors: Create Vendor Type permission.
Created
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
There is a conflict in the business rules with this request
You must accept the Drata terms and conditions to use the API
Internal server error
{- "name": "Cloud Provider"
}{- "id": 1,
- "name": "Cloud Provider"
}Update an existing Vendor Type.
🔒 Requires Vendors: Update Vendor Type permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
There is a conflict in the business rules with this request
You must accept the Drata terms and conditions to use the API
Internal server error
{- "name": "Cloud Service Provider"
}{- "id": 1,
- "name": "Cloud Provider"
}Soft delete a Vendor Type.
🔒 Requires Vendors: Delete Vendor Type permission.
No Content
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "name": "string",
- "statusCode": 0,
- "message": "string",
- "code": 0,
- "debugInfo": {
- "name": "string",
- "message": "string",
- "stack": "string"
}
}