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
For AWS, specify organization id.
For GCP, specify organization id or masterServiceAccount id.
For Azure, specify tenant id.
- application/json
Body
required
- Array [
- ]
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.
Possible values: [Agentless Scanning
, Serverless Function Scanning
, Agentless API Discovery
]
Feature name which has to be enabled or disabled.
Possible values: [enabled
, disabled
]
Feature state whether to be enabled or disabled.
Responses
- 200
- 400
- 401
- 403
- 404
- 405
- 425
- 429
Successfully saved/updated cloud account feature for the given member accounts
- application/json
- Schema
- Example (from schema)
Schema
null
Invalid Account Id/Member Ids cannot be empty or null/Member account list should be less than 500 in a single request/Feature {0} is not allowed/Invalid feature state {0} for feature {1}/Organisation Id {0} is not onboarded/AccountType of {0} is invalid, should be either of Organisation / Master Service Account / Tenant/Members account {0} do not belong to {1}/Compute features are not supported for {0}/Feature {0} is not present for given account,/For feature = {0}, parent feature state is {1}/Organisation / Master Service Account / Tenant Id {0} should not be part of memberIds list/AccountType of member account {0} is invalid. Member accountType should be of type {1}/
- application/json
- Schema
- Example (from schema)
Schema
error object
Possible values: [100 CONTINUE
, 101 SWITCHING_PROTOCOLS
, 102 PROCESSING
, 103 CHECKPOINT
, 200 OK
, 201 CREATED
, 202 ACCEPTED
, 203 NON_AUTHORITATIVE_INFORMATION
, 204 NO_CONTENT
, 205 RESET_CONTENT
, 206 PARTIAL_CONTENT
, 207 MULTI_STATUS
, 208 ALREADY_REPORTED
, 226 IM_USED
, 300 MULTIPLE_CHOICES
, 301 MOVED_PERMANENTLY
, 302 FOUND
, 302 MOVED_TEMPORARILY
, 303 SEE_OTHER
, 304 NOT_MODIFIED
, 305 USE_PROXY
, 307 TEMPORARY_REDIRECT
, 308 PERMANENT_REDIRECT
, 400 BAD_REQUEST
, 401 UNAUTHORIZED
, 402 PAYMENT_REQUIRED
, 403 FORBIDDEN
, 404 NOT_FOUND
, 405 METHOD_NOT_ALLOWED
, 406 NOT_ACCEPTABLE
, 407 PROXY_AUTHENTICATION_REQUIRED
, 408 REQUEST_TIMEOUT
, 409 CONFLICT
, 410 GONE
, 411 LENGTH_REQUIRED
, 412 PRECONDITION_FAILED
, 413 PAYLOAD_TOO_LARGE
, 413 REQUEST_ENTITY_TOO_LARGE
, 414 URI_TOO_LONG
, 414 REQUEST_URI_TOO_LONG
, 415 UNSUPPORTED_MEDIA_TYPE
, 416 REQUESTED_RANGE_NOT_SATISFIABLE
, 417 EXPECTATION_FAILED
, 418 I_AM_A_TEAPOT
, 419 INSUFFICIENT_SPACE_ON_RESOURCE
, 420 METHOD_FAILURE
, 421 DESTINATION_LOCKED
, 422 UNPROCESSABLE_ENTITY
, 423 LOCKED
, 424 FAILED_DEPENDENCY
, 425 TOO_EARLY
, 426 UPGRADE_REQUIRED
, 428 PRECONDITION_REQUIRED
, 429 TOO_MANY_REQUESTS
, 431 REQUEST_HEADER_FIELDS_TOO_LARGE
, 451 UNAVAILABLE_FOR_LEGAL_REASONS
, 500 INTERNAL_SERVER_ERROR
, 501 NOT_IMPLEMENTED
, 502 BAD_GATEWAY
, 503 SERVICE_UNAVAILABLE
, 504 GATEWAY_TIMEOUT
, 505 HTTP_VERSION_NOT_SUPPORTED
, 506 VARIANT_ALSO_NEGOTIATES
, 507 INSUFFICIENT_STORAGE
, 508 LOOP_DETECTED
, 509 BANDWIDTH_LIMIT_EXCEEDED
, 510 NOT_EXTENDED
, 511 NETWORK_AUTHENTICATION_REQUIRED
]
innererror object
null
Unauthorized Access
- application/json
- Schema
- Example (from schema)
Schema
error object
Possible values: [100 CONTINUE
, 101 SWITCHING_PROTOCOLS
, 102 PROCESSING
, 103 CHECKPOINT
, 200 OK
, 201 CREATED
, 202 ACCEPTED
, 203 NON_AUTHORITATIVE_INFORMATION
, 204 NO_CONTENT
, 205 RESET_CONTENT
, 206 PARTIAL_CONTENT
, 207 MULTI_STATUS
, 208 ALREADY_REPORTED
, 226 IM_USED
, 300 MULTIPLE_CHOICES
, 301 MOVED_PERMANENTLY
, 302 FOUND
, 302 MOVED_TEMPORARILY
, 303 SEE_OTHER
, 304 NOT_MODIFIED
, 305 USE_PROXY
, 307 TEMPORARY_REDIRECT
, 308 PERMANENT_REDIRECT
, 400 BAD_REQUEST
, 401 UNAUTHORIZED
, 402 PAYMENT_REQUIRED
, 403 FORBIDDEN
, 404 NOT_FOUND
, 405 METHOD_NOT_ALLOWED
, 406 NOT_ACCEPTABLE
, 407 PROXY_AUTHENTICATION_REQUIRED
, 408 REQUEST_TIMEOUT
, 409 CONFLICT
, 410 GONE
, 411 LENGTH_REQUIRED
, 412 PRECONDITION_FAILED
, 413 PAYLOAD_TOO_LARGE
, 413 REQUEST_ENTITY_TOO_LARGE
, 414 URI_TOO_LONG
, 414 REQUEST_URI_TOO_LONG
, 415 UNSUPPORTED_MEDIA_TYPE
, 416 REQUESTED_RANGE_NOT_SATISFIABLE
, 417 EXPECTATION_FAILED
, 418 I_AM_A_TEAPOT
, 419 INSUFFICIENT_SPACE_ON_RESOURCE
, 420 METHOD_FAILURE
, 421 DESTINATION_LOCKED
, 422 UNPROCESSABLE_ENTITY
, 423 LOCKED
, 424 FAILED_DEPENDENCY
, 425 TOO_EARLY
, 426 UPGRADE_REQUIRED
, 428 PRECONDITION_REQUIRED
, 429 TOO_MANY_REQUESTS
, 431 REQUEST_HEADER_FIELDS_TOO_LARGE
, 451 UNAVAILABLE_FOR_LEGAL_REASONS
, 500 INTERNAL_SERVER_ERROR
, 501 NOT_IMPLEMENTED
, 502 BAD_GATEWAY
, 503 SERVICE_UNAVAILABLE
, 504 GATEWAY_TIMEOUT
, 505 HTTP_VERSION_NOT_SUPPORTED
, 506 VARIANT_ALSO_NEGOTIATES
, 507 INSUFFICIENT_STORAGE
, 508 LOOP_DETECTED
, 509 BANDWIDTH_LIMIT_EXCEEDED
, 510 NOT_EXTENDED
, 511 NETWORK_AUTHENTICATION_REQUIRED
]
innererror object
null
Tenant License Expired
- application/json
- Schema
- Example (from schema)
Schema
error object
Possible values: [100 CONTINUE
, 101 SWITCHING_PROTOCOLS
, 102 PROCESSING
, 103 CHECKPOINT
, 200 OK
, 201 CREATED
, 202 ACCEPTED
, 203 NON_AUTHORITATIVE_INFORMATION
, 204 NO_CONTENT
, 205 RESET_CONTENT
, 206 PARTIAL_CONTENT
, 207 MULTI_STATUS
, 208 ALREADY_REPORTED
, 226 IM_USED
, 300 MULTIPLE_CHOICES
, 301 MOVED_PERMANENTLY
, 302 FOUND
, 302 MOVED_TEMPORARILY
, 303 SEE_OTHER
, 304 NOT_MODIFIED
, 305 USE_PROXY
, 307 TEMPORARY_REDIRECT
, 308 PERMANENT_REDIRECT
, 400 BAD_REQUEST
, 401 UNAUTHORIZED
, 402 PAYMENT_REQUIRED
, 403 FORBIDDEN
, 404 NOT_FOUND
, 405 METHOD_NOT_ALLOWED
, 406 NOT_ACCEPTABLE
, 407 PROXY_AUTHENTICATION_REQUIRED
, 408 REQUEST_TIMEOUT
, 409 CONFLICT
, 410 GONE
, 411 LENGTH_REQUIRED
, 412 PRECONDITION_FAILED
, 413 PAYLOAD_TOO_LARGE
, 413 REQUEST_ENTITY_TOO_LARGE
, 414 URI_TOO_LONG
, 414 REQUEST_URI_TOO_LONG
, 415 UNSUPPORTED_MEDIA_TYPE
, 416 REQUESTED_RANGE_NOT_SATISFIABLE
, 417 EXPECTATION_FAILED
, 418 I_AM_A_TEAPOT
, 419 INSUFFICIENT_SPACE_ON_RESOURCE
, 420 METHOD_FAILURE
, 421 DESTINATION_LOCKED
, 422 UNPROCESSABLE_ENTITY
, 423 LOCKED
, 424 FAILED_DEPENDENCY
, 425 TOO_EARLY
, 426 UPGRADE_REQUIRED
, 428 PRECONDITION_REQUIRED
, 429 TOO_MANY_REQUESTS
, 431 REQUEST_HEADER_FIELDS_TOO_LARGE
, 451 UNAVAILABLE_FOR_LEGAL_REASONS
, 500 INTERNAL_SERVER_ERROR
, 501 NOT_IMPLEMENTED
, 502 BAD_GATEWAY
, 503 SERVICE_UNAVAILABLE
, 504 GATEWAY_TIMEOUT
, 505 HTTP_VERSION_NOT_SUPPORTED
, 506 VARIANT_ALSO_NEGOTIATES
, 507 INSUFFICIENT_STORAGE
, 508 LOOP_DETECTED
, 509 BANDWIDTH_LIMIT_EXCEEDED
, 510 NOT_EXTENDED
, 511 NETWORK_AUTHENTICATION_REQUIRED
]
innererror object
null
Tenant not found
- application/json
- Schema
- Example (from schema)
Schema
error object
Possible values: [100 CONTINUE
, 101 SWITCHING_PROTOCOLS
, 102 PROCESSING
, 103 CHECKPOINT
, 200 OK
, 201 CREATED
, 202 ACCEPTED
, 203 NON_AUTHORITATIVE_INFORMATION
, 204 NO_CONTENT
, 205 RESET_CONTENT
, 206 PARTIAL_CONTENT
, 207 MULTI_STATUS
, 208 ALREADY_REPORTED
, 226 IM_USED
, 300 MULTIPLE_CHOICES
, 301 MOVED_PERMANENTLY
, 302 FOUND
, 302 MOVED_TEMPORARILY
, 303 SEE_OTHER
, 304 NOT_MODIFIED
, 305 USE_PROXY
, 307 TEMPORARY_REDIRECT
, 308 PERMANENT_REDIRECT
, 400 BAD_REQUEST
, 401 UNAUTHORIZED
, 402 PAYMENT_REQUIRED
, 403 FORBIDDEN
, 404 NOT_FOUND
, 405 METHOD_NOT_ALLOWED
, 406 NOT_ACCEPTABLE
, 407 PROXY_AUTHENTICATION_REQUIRED
, 408 REQUEST_TIMEOUT
, 409 CONFLICT
, 410 GONE
, 411 LENGTH_REQUIRED
, 412 PRECONDITION_FAILED
, 413 PAYLOAD_TOO_LARGE
, 413 REQUEST_ENTITY_TOO_LARGE
, 414 URI_TOO_LONG
, 414 REQUEST_URI_TOO_LONG
, 415 UNSUPPORTED_MEDIA_TYPE
, 416 REQUESTED_RANGE_NOT_SATISFIABLE
, 417 EXPECTATION_FAILED
, 418 I_AM_A_TEAPOT
, 419 INSUFFICIENT_SPACE_ON_RESOURCE
, 420 METHOD_FAILURE
, 421 DESTINATION_LOCKED
, 422 UNPROCESSABLE_ENTITY
, 423 LOCKED
, 424 FAILED_DEPENDENCY
, 425 TOO_EARLY
, 426 UPGRADE_REQUIRED
, 428 PRECONDITION_REQUIRED
, 429 TOO_MANY_REQUESTS
, 431 REQUEST_HEADER_FIELDS_TOO_LARGE
, 451 UNAVAILABLE_FOR_LEGAL_REASONS
, 500 INTERNAL_SERVER_ERROR
, 501 NOT_IMPLEMENTED
, 502 BAD_GATEWAY
, 503 SERVICE_UNAVAILABLE
, 504 GATEWAY_TIMEOUT
, 505 HTTP_VERSION_NOT_SUPPORTED
, 506 VARIANT_ALSO_NEGOTIATES
, 507 INSUFFICIENT_STORAGE
, 508 LOOP_DETECTED
, 509 BANDWIDTH_LIMIT_EXCEEDED
, 510 NOT_EXTENDED
, 511 NETWORK_AUTHENTICATION_REQUIRED
]
innererror object
null
Wrong Http Method
- application/json
- Schema
- Example (from schema)
Schema
error object
Possible values: [100 CONTINUE
, 101 SWITCHING_PROTOCOLS
, 102 PROCESSING
, 103 CHECKPOINT
, 200 OK
, 201 CREATED
, 202 ACCEPTED
, 203 NON_AUTHORITATIVE_INFORMATION
, 204 NO_CONTENT
, 205 RESET_CONTENT
, 206 PARTIAL_CONTENT
, 207 MULTI_STATUS
, 208 ALREADY_REPORTED
, 226 IM_USED
, 300 MULTIPLE_CHOICES
, 301 MOVED_PERMANENTLY
, 302 FOUND
, 302 MOVED_TEMPORARILY
, 303 SEE_OTHER
, 304 NOT_MODIFIED
, 305 USE_PROXY
, 307 TEMPORARY_REDIRECT
, 308 PERMANENT_REDIRECT
, 400 BAD_REQUEST
, 401 UNAUTHORIZED
, 402 PAYMENT_REQUIRED
, 403 FORBIDDEN
, 404 NOT_FOUND
, 405 METHOD_NOT_ALLOWED
, 406 NOT_ACCEPTABLE
, 407 PROXY_AUTHENTICATION_REQUIRED
, 408 REQUEST_TIMEOUT
, 409 CONFLICT
, 410 GONE
, 411 LENGTH_REQUIRED
, 412 PRECONDITION_FAILED
, 413 PAYLOAD_TOO_LARGE
, 413 REQUEST_ENTITY_TOO_LARGE
, 414 URI_TOO_LONG
, 414 REQUEST_URI_TOO_LONG
, 415 UNSUPPORTED_MEDIA_TYPE
, 416 REQUESTED_RANGE_NOT_SATISFIABLE
, 417 EXPECTATION_FAILED
, 418 I_AM_A_TEAPOT
, 419 INSUFFICIENT_SPACE_ON_RESOURCE
, 420 METHOD_FAILURE
, 421 DESTINATION_LOCKED
, 422 UNPROCESSABLE_ENTITY
, 423 LOCKED
, 424 FAILED_DEPENDENCY
, 425 TOO_EARLY
, 426 UPGRADE_REQUIRED
, 428 PRECONDITION_REQUIRED
, 429 TOO_MANY_REQUESTS
, 431 REQUEST_HEADER_FIELDS_TOO_LARGE
, 451 UNAVAILABLE_FOR_LEGAL_REASONS
, 500 INTERNAL_SERVER_ERROR
, 501 NOT_IMPLEMENTED
, 502 BAD_GATEWAY
, 503 SERVICE_UNAVAILABLE
, 504 GATEWAY_TIMEOUT
, 505 HTTP_VERSION_NOT_SUPPORTED
, 506 VARIANT_ALSO_NEGOTIATES
, 507 INSUFFICIENT_STORAGE
, 508 LOOP_DETECTED
, 509 BANDWIDTH_LIMIT_EXCEEDED
, 510 NOT_EXTENDED
, 511 NETWORK_AUTHENTICATION_REQUIRED
]
innererror object
null
Too Early to access the resource
- application/json
- Schema
- Example (from schema)
Schema
error object
Possible values: [100 CONTINUE
, 101 SWITCHING_PROTOCOLS
, 102 PROCESSING
, 103 CHECKPOINT
, 200 OK
, 201 CREATED
, 202 ACCEPTED
, 203 NON_AUTHORITATIVE_INFORMATION
, 204 NO_CONTENT
, 205 RESET_CONTENT
, 206 PARTIAL_CONTENT
, 207 MULTI_STATUS
, 208 ALREADY_REPORTED
, 226 IM_USED
, 300 MULTIPLE_CHOICES
, 301 MOVED_PERMANENTLY
, 302 FOUND
, 302 MOVED_TEMPORARILY
, 303 SEE_OTHER
, 304 NOT_MODIFIED
, 305 USE_PROXY
, 307 TEMPORARY_REDIRECT
, 308 PERMANENT_REDIRECT
, 400 BAD_REQUEST
, 401 UNAUTHORIZED
, 402 PAYMENT_REQUIRED
, 403 FORBIDDEN
, 404 NOT_FOUND
, 405 METHOD_NOT_ALLOWED
, 406 NOT_ACCEPTABLE
, 407 PROXY_AUTHENTICATION_REQUIRED
, 408 REQUEST_TIMEOUT
, 409 CONFLICT
, 410 GONE
, 411 LENGTH_REQUIRED
, 412 PRECONDITION_FAILED
, 413 PAYLOAD_TOO_LARGE
, 413 REQUEST_ENTITY_TOO_LARGE
, 414 URI_TOO_LONG
, 414 REQUEST_URI_TOO_LONG
, 415 UNSUPPORTED_MEDIA_TYPE
, 416 REQUESTED_RANGE_NOT_SATISFIABLE
, 417 EXPECTATION_FAILED
, 418 I_AM_A_TEAPOT
, 419 INSUFFICIENT_SPACE_ON_RESOURCE
, 420 METHOD_FAILURE
, 421 DESTINATION_LOCKED
, 422 UNPROCESSABLE_ENTITY
, 423 LOCKED
, 424 FAILED_DEPENDENCY
, 425 TOO_EARLY
, 426 UPGRADE_REQUIRED
, 428 PRECONDITION_REQUIRED
, 429 TOO_MANY_REQUESTS
, 431 REQUEST_HEADER_FIELDS_TOO_LARGE
, 451 UNAVAILABLE_FOR_LEGAL_REASONS
, 500 INTERNAL_SERVER_ERROR
, 501 NOT_IMPLEMENTED
, 502 BAD_GATEWAY
, 503 SERVICE_UNAVAILABLE
, 504 GATEWAY_TIMEOUT
, 505 HTTP_VERSION_NOT_SUPPORTED
, 506 VARIANT_ALSO_NEGOTIATES
, 507 INSUFFICIENT_STORAGE
, 508 LOOP_DETECTED
, 509 BANDWIDTH_LIMIT_EXCEEDED
, 510 NOT_EXTENDED
, 511 NETWORK_AUTHENTICATION_REQUIRED
]
innererror object
null
Rate Limit Exceeded
- application/json
- Schema
- Example (from schema)
Schema
error object
Possible values: [100 CONTINUE
, 101 SWITCHING_PROTOCOLS
, 102 PROCESSING
, 103 CHECKPOINT
, 200 OK
, 201 CREATED
, 202 ACCEPTED
, 203 NON_AUTHORITATIVE_INFORMATION
, 204 NO_CONTENT
, 205 RESET_CONTENT
, 206 PARTIAL_CONTENT
, 207 MULTI_STATUS
, 208 ALREADY_REPORTED
, 226 IM_USED
, 300 MULTIPLE_CHOICES
, 301 MOVED_PERMANENTLY
, 302 FOUND
, 302 MOVED_TEMPORARILY
, 303 SEE_OTHER
, 304 NOT_MODIFIED
, 305 USE_PROXY
, 307 TEMPORARY_REDIRECT
, 308 PERMANENT_REDIRECT
, 400 BAD_REQUEST
, 401 UNAUTHORIZED
, 402 PAYMENT_REQUIRED
, 403 FORBIDDEN
, 404 NOT_FOUND
, 405 METHOD_NOT_ALLOWED
, 406 NOT_ACCEPTABLE
, 407 PROXY_AUTHENTICATION_REQUIRED
, 408 REQUEST_TIMEOUT
, 409 CONFLICT
, 410 GONE
, 411 LENGTH_REQUIRED
, 412 PRECONDITION_FAILED
, 413 PAYLOAD_TOO_LARGE
, 413 REQUEST_ENTITY_TOO_LARGE
, 414 URI_TOO_LONG
, 414 REQUEST_URI_TOO_LONG
, 415 UNSUPPORTED_MEDIA_TYPE
, 416 REQUESTED_RANGE_NOT_SATISFIABLE
, 417 EXPECTATION_FAILED
, 418 I_AM_A_TEAPOT
, 419 INSUFFICIENT_SPACE_ON_RESOURCE
, 420 METHOD_FAILURE
, 421 DESTINATION_LOCKED
, 422 UNPROCESSABLE_ENTITY
, 423 LOCKED
, 424 FAILED_DEPENDENCY
, 425 TOO_EARLY
, 426 UPGRADE_REQUIRED
, 428 PRECONDITION_REQUIRED
, 429 TOO_MANY_REQUESTS
, 431 REQUEST_HEADER_FIELDS_TOO_LARGE
, 451 UNAVAILABLE_FOR_LEGAL_REASONS
, 500 INTERNAL_SERVER_ERROR
, 501 NOT_IMPLEMENTED
, 502 BAD_GATEWAY
, 503 SERVICE_UNAVAILABLE
, 504 GATEWAY_TIMEOUT
, 505 HTTP_VERSION_NOT_SUPPORTED
, 506 VARIANT_ALSO_NEGOTIATES
, 507 INSUFFICIENT_STORAGE
, 508 LOOP_DETECTED
, 509 BANDWIDTH_LIMIT_EXCEEDED
, 510 NOT_EXTENDED
, 511 NETWORK_AUTHENTICATION_REQUIRED
]
innererror object
null