Update Azure Cloud Account
Update the cloud account that has been onboarded onto the Prisma Cloud platform.
Path Parameters
- account_id string required
Account ID
Query Parameters
- skipStatusChecks boolean
true = Skip account status checks to improve response time
- application/json
Request Body required
Cloud Account
- clientId string required
Application (Client) ID
- defaultAccountGroupId string
Required only for accountType: tenant.
This is the Default Account Group ID for the Azure Tenant and its Management Groups/Subscriptions.
- environmentType string required
Possible values: [
azure
,azure_gov
,azure_china
]-
azure - Commercial deployment type. Applicable for Prisma Commercial and Government stacks
-
azure_gov - Government deployment type. Applicable for Prisma Commercial and Government stacks..
-
azure_china - Applicable for Prisma China Stack.
-
features object[]
Features to be enabled and/ or disabled. To get a list of all the supported features, call Fetch Supported Features endpoint
Array [name stringFeature name obtained from Fetch Supported Features endpoint
state stringPossible values: [
enabled
,disabled
]Feature state. Whether to be enabled or disabled
]hierarchySelection object[]
Required only for accountType: tenant.
Include or Exclude a list of Azure Management Groups and Azure Subscriptions to onboard under this Tenant.
Array [displayName stringTo get the display name of resource, Refer List Children of Parent.
aws: List Children of Parent (AWS)
gcp: List Children of Parent (GCP). Display name is the organization name if
nodeType
is ORGnodeType stringPossible values: [
ORG
,FOLDER
,PROJECT
,SUBSCRIPTION
,MANAGEMENT_GROUP
,TENANT
,ACCOUNT
,OU
]Member account node type. Supported values based on cloud type:
aws: ORG, OU, or ACCOUNT
gcp: ORG, FOLDER, or PROJECT
azure: SUBSCRIPTION, MANAGEMENT_GROUP, or TENANT
resourceId stringTo get the list of resource IDs and its details, Refer List Children of Parent.
aws: List Children of Parent (AWS)
selectionType stringPossible values: [
ALL
,INCLUDE
,EXCLUDE
]Organization Member accounts Selection type.
ALL: Include the resource and all its children
INCLUDE: Include the specified resource
EXCLUDE: Exclude the specified resource
]- key string required
Application key/client secret
- monitorFlowLogs boolean
If set to true, it ingests Network Security Group Flow Logs to Prisma Cloud
- rootSyncEnabled boolean
Applicable only for accountType: tenant
In order to onboard the tenant and its associated management groups and subscriptions,
rootSyncEnabled
must be set totrue
- servicePrincipalId string
Service Principal ID
- tenantId string required
Directory (Tenant) ID
- 200
- 400
- 404
- 500
successful operation
invalid_account_id_format / duplicate_cloud_account_name / duplicate_cloud_account / cannot_select_zero_account_groups / invalid_account_group_ids
invalid_account_type
not_found / internal_error