curl --request PATCH \
--url http://localhost:3333/v1/vendors/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"category": "cloud",
"status": "not_assessed",
"inherentProbability": "very_unlikely",
"inherentImpact": "insignificant",
"residualProbability": "very_unlikely",
"residualImpact": "insignificant",
"website": "<string>",
"isSubProcessor": true,
"assigneeId": "<string>"
}
'{
"id": "vnd_abc123def456",
"name": "CloudTech Solutions Inc.",
"description": "Cloud infrastructure provider offering AWS-like services including compute, storage, and networking solutions for enterprise customers.",
"category": "cloud",
"status": "assessed",
"inherentProbability": "possible",
"inherentImpact": "moderate",
"residualProbability": "unlikely",
"residualImpact": "minor",
"website": "https://www.cloudtechsolutions.com",
"organizationId": "org_abc123def456",
"assigneeId": "mem_abc123def456",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}Partially updates a vendor. Only provided fields will be updated. Supports both API key authentication (X-API-Key header) and session authentication (Bearer token or cookies).
curl --request PATCH \
--url http://localhost:3333/v1/vendors/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"category": "cloud",
"status": "not_assessed",
"inherentProbability": "very_unlikely",
"inherentImpact": "insignificant",
"residualProbability": "very_unlikely",
"residualImpact": "insignificant",
"website": "<string>",
"isSubProcessor": true,
"assigneeId": "<string>"
}
'{
"id": "vnd_abc123def456",
"name": "CloudTech Solutions Inc.",
"description": "Cloud infrastructure provider offering AWS-like services including compute, storage, and networking solutions for enterprise customers.",
"category": "cloud",
"status": "assessed",
"inherentProbability": "possible",
"inherentImpact": "moderate",
"residualProbability": "unlikely",
"residualImpact": "minor",
"website": "https://www.cloudtechsolutions.com",
"organizationId": "org_abc123def456",
"assigneeId": "mem_abc123def456",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}API key for authentication
Vendor ID
"vnd_abc123def456"
Vendor update data
Vendor name
Vendor description
Vendor category
cloud, infrastructure, software_as_a_service, finance, marketing, sales, hr, other Assessment status
not_assessed, in_progress, assessed Inherent probability
very_unlikely, unlikely, possible, likely, very_likely Inherent impact
insignificant, minor, moderate, major, severe Residual probability
very_unlikely, unlikely, possible, likely, very_likely Residual impact
insignificant, minor, moderate, major, severe Vendor website URL
Whether the vendor is a sub-processor
Assignee member ID
Vendor updated successfully
Vendor ID
"vnd_abc123def456"
Vendor name
"CloudTech Solutions Inc."
Vendor description
"Cloud infrastructure provider offering AWS-like services including compute, storage, and networking solutions for enterprise customers."
cloud, infrastructure, software_as_a_service, finance, marketing, sales, hr, other "cloud"
not_assessed, in_progress, assessed "assessed"
very_unlikely, unlikely, possible, likely, very_likely "possible"
insignificant, minor, moderate, major, severe "moderate"
very_unlikely, unlikely, possible, likely, very_likely "unlikely"
insignificant, minor, moderate, major, severe "minor"
"https://www.cloudtechsolutions.com"
"org_abc123def456"
ID of the user assigned to manage this vendor
"mem_abc123def456"
When the vendor was created
When the vendor was last updated
How the request was authenticated
api-key, session User information (only for session auth)
Show child attributes
Was this page helpful?