Delete Plan

Details

API DetailsRelease-Specific Information
CloudCenter Platform 4xCloudCenter Suite 5x
NameDelete Plan
Description

Deletes a specified plan within the specified tenant if that plan is not assigned to any user

Allowed Role(s)WM_USER
MethodDELETE
URI

v1/tenants/tenantId/plans/planID

cloudcenter-ccm-backend/api/v1/tenants/tenantId/plans/planID

Sample Request
curl -k -X DELETE -H "Accept: application/json" -u cloud enteadmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/tenants/2/plans/1"
curl -k -X DELETE -H "Accept: application/json" -u cloud enteadmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/cloudcenter-ccm-backend/api/v1/tenants/2/plans/1"
Release

Introduced in CloudCenter 4.0.

Modified in CloudCenter Suite 5.0.0

Notes
  • Only resource owners and users with WRITE perms can view all the fields for this resource.
  • Other users can only view common fields like name, description, and so forth. See Permission Control for additional context.
  • If you include a planId to identify a plan, the response includes information for that plan only.
  • You can sort the response based on the name attribute.
Back To LinksCloudCenter Platform 4x APIWorkload Manager API

ESB Header

action: delete.tenants.tenantId.plans.planId

See the Enterprise Service Bus (ESB) section for additional context.

Not applicable

Sample Response

The server responds with the HTTP Response code 204 No Content if the deletion of the plan is successful.

Request Attributes

tenantId
  • DescriptionUnique, system-generated identifier for the tenant organization. A tenant admin must belong to this tenant to invoke any APIs for this tenant. See the Tenant ID and Tenant Name Dependency section for the relevant release for additional context.

  • Type: String

Required

planId 
  • DescriptionUnique, system-generated identifier for the plan belonging to this tenant. The default is Null.
  • Type: String

Required

Response Attributes

None

© 2017-2019 Cisco Systems, Inc. All rights reserved