Update Category
Update Category API endpoint for Sweeppea. PUT /files/categories/{id}. Complete documentation with code examples in cURL, JavaScript, and Python.
PUT
/api/v3/files/categories/{id}
Description
This endpoint allows you to update category. Use this to manage your files & categories data programmatically through the Sweeppea API.
Code Examples
curl -X PUT "https://api-v3.sweeppea.com/files/categories/{id}" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"key": "value",
"name": "example"
}'
Response
200 OK
{
"success": true,
"data": {},
"message": "Operation completed successfully"
}