v1

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

Create Resource Lock Config Rule

Creates a new lock config rule under a CoreStack

post/resource/locks/{tenant_id}/lock_config_rule

Path parameters

tenant_idstring required

Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.

Request body

cloud_account_idstring required

cloud_acccount_id

cloud_account_namestring required

cloud_account_name

cloudstring required

The category will be either service or resource

tenant_idsstring[] required

Displays the list of tenant ids

scopestring required

Account Scope - For account scope,user can apply lock to particular cloud account,Tenant Scope - Users with tenant can apply lock for multiple tenants., allowed values are tenant, cloud_account

lock_typestring

lock type

config_rule_idstring

config rule id to enable/disable config rule

actionstring

action to enable/disable config rule. allowed values are enable or diable

Response

Created

config_rule_idstring required

Config rule id