Perform Cloud Account Actions (Deprecated)

Details

API Details
Name

Perform Cloud Account Actions (Asynchronous API)

Description

Allows you to configure cloud account actions.

Unspecified attributes are not changed.

MethodPOST
URIv1/tenants/tenantId/clouds/cloudId/accounts/cloudAccountId 
CloudCenter Release
  • Introduced in CloudCenter 4.1.2.
  • The grantAndRevoke attribute and the GRANT_IMAGE_LAUNCH_PERMISSIONS action is no longer required as the CloudCenter platform uses public images. Consequently, the Perform Cloud Account Actions API is also deprecated in CloudCenter 4.9.0.
Notes

API Notes:

User Action Notes:

  • The request body changes based on the selected action.
ESB Header

action: create.tenants.tenantId.clouds.cloudId.accounts.cloudAccountId

Removed link and replaced with searchable text for relevant release.

Examples

curl -k -X POST -H "Accept: application/json" -H "Content-Type: application/json" -u cliqradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/tenants/1/clouds/2/accounts/2"

Request Body – Activate User (Asynchronous API)

{
    "action": "GRANT_IMAGE_LAUNCH_PERMISSIONS"
}

Response

A success or failure HTTP Status Code.

See HTTP Location URL for the link to the newly created user resource.

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

cloudId
  • Description: Unique, system-generated identifier for a cloud representation (see View Deployment Environments for additional details)

  • Type: String

Required

accountId
  • Description: Unique, system-generated identifier for the account of the cloud provider
  • Type: String

Required

action (Deprecated in CloudCenter 4.9.0)
  • Type: Enumeration

    Enumeration Description
    GRANT_IMAGE_LAUNCH_PERMISSIONS

    Grant permission to launch VMs (using supported Base OS Images) to AWS accounts that do not have the privilege to launch VMs using these images.

    This feature is only available for AWS deployments.

Required

Response Attributes

None.


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