All Products
Search
Document Center

OnsInstanceDelete

Last Updated: Mar 28, 2019

OnsInstanceDelete

You can call this operation to delete an instance.

Description

When calling this operation, pay attention to the following:

  • By default, only primary accounts can call this operation. RAM sub-accounts can call this operation only after being authorized.

  • Instances can be deleted only when the Topic and GroupId parameters have no values.

Request parameters

Name Type Required Description
PreventCache Long Yes The parameter used for CSRF verification, which can be set to the current system time. Unit: ms
InstanceId String Yes The ID of the instance.

Response parameters

Name Type Description
RequestId String A common parameter. Each request has a unique ID to facilitate troubleshooting and fault locating.
HelpUrl String A help link.

Examples

For more information about sample codes, see API sample code and endpoints.