Skip to main content

Update Feature State for Members of an Organization

PUT 

/cas/api/v1/org/:id/features

Enable or disable the feature for list of member accounts linked to an organization.

Request

Path Parameters

    accountId stringrequired

    For AWS, specify organization id.

    For GCP, specify organization id or masterServiceAccount id.

    For Azure, specify tenant id.

Header Parameters

    x-redlock-auth any

    x-redlock-auth token should be used for U2S API call

Body

required
    memberIds string[]required

    List of member ids for which the feature must be enabled or disabled.

    For AWS, specify account ids.

    For Azure, specify subscription ids.

    For GCP, specify project ids.

    features object[]required

    Features to be enabled or disabled. You can enable or disable only Agentless Scanning and Serverless Function Scanning feature.

  • Array [
  • name stringrequired

    Possible values: [Agentless Scanning, Serverless Function Scanning]

    Feature name which has to be enabled or disabled.

    state stringrequired

    Possible values: [enabled, disabled]

    Feature state whether to be enabled or disabled.

  • ]

Responses

Successfully saved/updated cloud account feature for the given member accounts

Schema
    code int32
    message string
Loading...