DELETE https://apis.wso2.com/api/am/admin/v0.16/labels/{labelId}
Delete a Label by label Id
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
labelId required |
Label 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. Label successfully deleted. |
|
404 |
Not Found. Label to be deleted does not exist. |
Error |
PUT https://apis.wso2.com/api/am/admin/v0.16/labels/{labelId}
Update a Label by label Id
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
labelId required |
Label UUID |
String | |
Body |
body required |
Label object with updated information |
Label (Label) |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Label updated. |
Label |
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/labels
Add a new gateway Label
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body required |
Label object that should to be added |
Label (Label) |
HTTP Code | Description | Schema |
---|---|---|
201 |
Created. Successful response with the newly created object as entity in the body. |
Label |
400 |
Bad Request. Invalid request or validation error |
Error |