Contents
Undeploy Rule Package or Snapshot
Method
POST
Syntax
/grs/v1/tenant/{tenantId}/package/{packageId}/undeploy
Request Body
{
"target": "GRE_Cluster",
"comments":"Undeploy to QA servers"
}
Response Body
{
"target": "GRE_Cluster",
"deploymentId" : 3423322234,
"comments":"Undeploy to QA servers"
}
HTTP Status Codes
- 201 Created—Response body provided with deployment ID
- 401 Unauthorized—APIToken not valid
- 403 Forbidden—User does not have permission for the specified tenant or does not have proper permission to perform this operation.
- 404 Not Found—could not find specified package ID
Notes
User must have PACKAGE_UNDEPLOY and SNAPSHOT_VIEW permissions.
- target—Indicate which GRE or GRE Cluster you want to undeploy from. Use "Query Deploy Targets" to get the list of valid targets.
This page was last edited on May 16, 2017, at 08:20.
Comments or questions about this documentation? Contact us for support!