post
https://{targetURL}/api/v1/protocols/categories
Creates a new protocol category, or restores an existing one that was previously archived. Pass groupID: 0 (system-admin only) to create a public category that's visible to every group; pass any other groupID to scope the category to that group.
If a category with the same name already exists in the target group:
- and is archived, this call un-archives it instead of creating a duplicate — you get the existing
protCategoryIDback - and is active, the call returns 409.
This means add-on installers and templates can re-apply the same categories without producing duplicates.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200The addition of the new protocol category was successful.
400There was an error in the request.
401You don't have permission to add this category.
404The provided group was not found.
409The provided category name already exists.