Preset categories
Delete a preset category
Also soft-deletes the presets that depend on it: presets owned by the caller whose only visible category is this one. Presets that also belong to another category are kept (they still have a home), as are presets owned by other users (e.g. a teammate's preset in a shared category) — same permission rules as deleting each preset individually.
Authorization
token_auth AuthorizationBearer <token>
Token-based authentication using access tokens.
In: header
Path Parameters
category_id*string
Response Body
application/json
application/json
curl -X DELETE "https://v2.api.piktid.com/preset/categories/string"{
"success": true,
"message": "string"
}{
"error": "Invalid request",
"detail": [
{
"field": null,
"message": "string",
"position": "query"
}
]
}Empty
Empty
Empty