Skip to main content

Create a plugin category

Create a plugin category. POST /api/openapi/v1/expert-suite-categories, scope admin.v1.expert-suites.manage.

  • Scope: admin.v1.expert-suites.manage
  • Permission: Manage plugins (expert-suites)
  • Permission type: Manage
  • Endpoint: POST/api/openapi/v1/expert-suite-categories

Authentication and request headers

Call with an application API key. This endpoint checks only the scope above; read, manage and execute permissions do not imply one another.
NameLocationTypeRequiredDescriptionExample
AuthorizationheaderstringYesApplication API key, passed as a Bearer token.Bearer qwk_***
X-Request-IdheaderstringNoOptional request tracing identifier; generated by the server if omitted.req-20260831-001

Request parameters

NameLocationTypeRequiredDescriptionExample
Idempotency-KeyheaderstringRequiredIdempotency key used to prevent duplicate submissions"<string>"
namebodystringRequiredCategory name"<string>"
orderbodyinteger · int64NoSort order0

Request example

cURL

Responses

201 Created
NameTypeRequiredDescriptionExample
category_idstring · uuidYesCategory (category ID)"<uuid>"
namestringYesCategory name"<string>"
orderinteger · int64YesSort order0
revisioninteger · int64YesOptimistic-lock revision to pass as expected_revision on the next update.1
Response example
default Flat business error
NameTypeRequiredDescriptionExample
codestringNoStable business error code"<string>"
detailstringYesHuman-readable error description"<string>"
detailsOpenapiErrorDetailsNoError details{"field":"<string>","reason":"<string>","suggestion":"<string>"}
details.fieldstringNoRequest field that failed validation"<string>"
details.reasonstringNoStable validation failure reason"<string>"
details.suggestionstringNoSuggested normalized value"<string>"
errorstringYesStable HTTP error type"<string>"
Response example