API Category (Individual)


Delete an API Category

DELETE https://apis.wso2.com/api/am/admin/v0.16/api-categories/{apiCategoryId}

Delete an API Category by API Category Id

OAuth 2.0 Scope

Not required

Examples

Parameters

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

Responses

HTTP Code Description Schema

200

OK. API Category successfully deleted.

404

Not Found. API Category to be deleted does not exist.

Error

Update an API Category

PUT https://apis.wso2.com/api/am/admin/v0.16/api-categories/{apiCategoryId}

Update an API Category by category Id

OAuth 2.0 Scope

Not required

Examples

Parameters

Type Name Description Schema Default
Path

apiCategoryId

required

API Category UUID

String

Body

body

required

API Category object with updated information

APICategory (APICategory)

Responses

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

Add a new API Category

POST https://apis.wso2.com/api/am/admin/v0.16/api-categories

Add a new API Category

OAuth 2.0 Scope

Not required

Examples

Parameters

Type Name Description Schema Default
Body

body

required

API Category object that should to be added

APICategory (APICategory)

Responses

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