Skip to main content
PUT
/
api
/
apis
/
oas
/
{apiId}
/
categories
Update OAS API categories.
curl --request PUT \
  --url https://{tenant}/api/apis/oas/{apiId}/categories \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "categories": [
    "dev",
    "testers",
    "messages"
  ]
}
'
{
  "Message": "API categories updated.",
  "Meta": null,
  "Status": "OK"
}

Documentation Index

Fetch the complete documentation index at: https://tyk.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The Tyk Dashboard API Access Credentials

Path Parameters

apiId
string
required

ID of the API.

Body

application/json
categories
string[] | null

Response

Categories updated.

ID
string
Message
string
Meta
any
Status
string