DELETE https://apis.wso2.com/api/am/admin/v0.16/api-categories/{apiCategoryId}
Delete an API Category by API Category Id
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
apiCategoryId required |
API Category UUID |
String | |
Header |
If-Match optional |
Validator for conditional requests; based on ETag (Will be supported in future). |
String | |
Header |
If-Unmodified-Since optional |
Validator for conditional requests; based on Last Modified header (Will be supported in future). |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. API Category successfully deleted. |
|
404 |
Not Found. API Category to be deleted does not exist. |
Error |
PUT https://apis.wso2.com/api/am/admin/v0.16/api-categories/{apiCategoryId}
Update an API Category by category Id
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
apiCategoryId required |
API Category UUID |
String | |
Body |
body required |
API Category object with updated information |
APICategory (APICategory) |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Label updated. |
APICategory |
400 |
Bad Request. Invalid request or validation error. |
Error |
404 |
Not Found. The resource to be updated does not exist. |
Error |
POST https://apis.wso2.com/api/am/admin/v0.16/api-categories
Add a new API Category
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body required |
API Category object that should to be added |
APICategory (APICategory) |
HTTP Code | Description | Schema |
---|---|---|
201 |
Created. Successful response with the newly created object as entity in the body. |
APICategory |
400 |
Bad Request. Invalid request or validation error |
Error |