v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
MasterAccount

Master Account Update

Update the master account

put/v1/master_accounts/item/{master_account_id}

Request body

namestring

Master account name

require_access_keyboolean

require access key

statusstring

Master account status

created_bystring

Name of the user created this master account.

updated_bystring

Name of the user last updated this master account.

updated_atstring date-time

DateTime in UTC when the master account was last updated.

created_atstring date-time

DateTime in UTC when the master account was created.

crm_idstring

CRM id

mcp_server_enabledboolean

Checks if the account is mcp server enabled or not

mfa_enabledboolean

Checks if the account is mfa enabled or not

automation_workflow_enabledboolean

Checks if the accounts automation workflow configuration has enabled or not

hierarchy_levelstring

Hierarchy level

parent_master_account_idstring

ID of the parent master account.

productsstring[]

Products enabled in the master account

dimension_pre_computation_enabledboolean

Flag to enable dimension precomputation for this master account

discover_azure_csp_partner_accountsboolean

Flag to enable Azure CSP Partner account discovery for this master account

Example request

{
  "cost_anomaly_settings": {
    "threshold_configuration": {
      "category": "all",
      "cost_impact_spend_operator": "and"
    }
  },
  "cost_recommendation_settings": [
    {
      "product": "AppSecOps"
    }
  ]
}

Response

Success

namestring

Master account name

require_access_keyboolean

require access key

statusstring

Master account status

created_bystring

Name of the user created this master account.

updated_bystring

Name of the user last updated this master account.

updated_atstring date-time

DateTime in UTC when the master account was last updated.

created_atstring date-time

DateTime in UTC when the master account was created.

crm_idstring

CRM id

mcp_server_enabledboolean

Checks if the account is mcp server enabled or not

mfa_enabledboolean

Checks if the account is mfa enabled or not

automation_workflow_enabledboolean

Checks if the accounts automation workflow configuration has enabled or not

hierarchy_levelstring

Hierarchy level

parent_master_account_idstring

ID of the parent master account.

productsstring[]

Products enabled in the master account

dimension_pre_computation_enabledboolean

Flag to enable dimension precomputation for this master account

discover_azure_csp_partner_accountsboolean

Flag to enable Azure CSP Partner account discovery for this master account

Example response

{
  "cost_anomaly_settings": {
    "threshold_configuration": {
      "category": "all",
      "cost_impact_spend_operator": "and"
    }
  },
  "cost_recommendation_settings": [
    {
      "product": "AppSecOps"
    }
  ]
}