cURL
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" }
Update the list of API categories associated with the specified API.
The Tyk Dashboard API Access Credentials
ID of the API.
Categories updated.
Was this page helpful?