Jump to: navigation, search

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 modified on May 16, 2017, at 00:20.

Feedback

Comment on this article:

blog comments powered by Disqus