Documentation Index
Fetch the complete documentation index at: https://dev.puppetvendors.com/llms.txt
Use this file to discover all available pages before exploring further.
V2 Alpha — This endpoint is part of the V2 API preview. Breaking changes may occur.
Overview
Delete a user account belonging to the authenticated vendor. Returns 404 if the user does not exist or does not belong to the vendor.
Vendor Token Required — This endpoint requires a vendor-scoped JWT token. Merchant tokens will receive a 403 error.
Use Cases
- Remove team members who no longer need portal access
- Clean up inactive accounts from the vendor user list
Path Parameters
The user ObjectId to delete.
Response
{
"success": true,
"data": {
"deleted": true
}
}
Error Responses
{
"success": false,
"error": "User not found"
}
Example
curl -X DELETE "https://staging-api.puppetvendors.com/users/507f1f77bcf86cd799439022" \
-H "x-access-token: YOUR_VENDOR_JWT_TOKEN"