Skip to main content

Update Cloud Account (OCI and Alibaba)

Update information related to a cloud account.

The request body parameters differ depending on the cloud type of the account you want to add.

Request Body to Update an Alibaba Account

The table below lists the request body parameters.

accountIdstringAWS account IDRequired
groupIdsarray of stringsList of account group IDs for this accountRequired
namestringName to be used for the account on the Prisma Cloud platform (must be unique)Required
roleArnstringUnique identifier for an Alibaba RAM role resourceRequired
enabledbooleanWhether or not the account is enabledRequired
deploymentTypestringDeployment type.
Valid values: ali-int, ali-cn, ali-fn
ali-int: Alibaba International
ali-cn: Alibaba China. Allows you to monitor all the resources in the Alibaba China region, but does not monitor resources in the Alibaba Finance region.
ali-fn: Alibaba Finance. Applicable only for the Alibaba China region. Allows you to monitor resources located only in the Alibaba Finance regions.

Request Body Example

"accountId": "",
"groupIds": [],
"name": "",
"enabled": true,
"ramArn": ""

Request Body to Update an OCI Account

The table below lists the request body parameters to add an OCI account.

accountTypestringOCI Account type. Current valid value is tenant.Required
defaultAccountGroupIdstringAccount group ID for this account. Used for alert rules.Required
enabledbooleanWhether or not to enable the accountRequired
namestringName of the OCI tenant you want Prisma Cloud to monitorRequired
groupNamestringOCI identity group name that you define. Can be an existing groupRequired
homeRegionstringOCI tenancy home regionRequired
policyNamestringOCI identity policy name that you define. Can be an existing policy that has the right policy statements.Required
accountIdstringOCID of your OCI tenancyRequired
userNamestringOCI identity user name that you define. Can be an existing user that has the right privileges.Required
userOcidstringUser OCID from your OCI Tenant Console after you apply the zip file from Generate Zipped Terraform Script (OCI) in the consoleRequired

Request Body Example

Path Parameters
    id string required

    Possible values: Value must match regular expression .+

    Account ID

    cloud_type string required

    Possible values: [alibaba_cloud, oci]

    Cloud Type

Query Parameters
    skipStatusChecks boolean

    true = Skip account status checks to improve response time

Request Body required

Cloud Account

    property name* object

successful operation