Deleting a Plug-in Draft
Function
Deleting a Plug-in Draft
URI
DELETE /v1/{domain_id}/agent-plugin/delete-draft
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
domain_id |
Yes |
String |
Indicates the tenant ID. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
plugin_name |
No |
String |
Plug-in |
version |
No |
String |
Version |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. Can be obtained by calling the IAM API for obtaining the user token (the value of X-Subject-Token in the response header). |
Response Parameters
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_msg |
String |
Error Message |
error_code |
String |
Error code. |
Example Requests
DELETE https://{endpoint}/v1/ce8df55870164338a72d7e828a966a2a/agent-plugin/delete-draft?plugin_name=apie_test&version=0.0.3
Example Responses
Status code: 200
Indicates whether the invoking is successful.
true
Status Codes
Status Code |
Description |
---|---|
200 |
Indicates whether the invoking is successful. |
400 |
Bad request |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.