---
title: "POST /BatchUpdateSecurityRequirements"
method: POST
path: "/BatchUpdateSecurityRequirements"
---

# POST /BatchUpdateSecurityRequirements

`POST /BatchUpdateSecurityRequirements`

Batch updates security requirements within a customer managed pack.

## Request body

- object
  - `packId` string, required — The unique identifier of the security requirement pack containing the requirements to update.
  - `securityRequirements` UpdateSecurityRequirementEntry[], required — List of security requirement updates to apply.
    - `name` string, required — The name of the security requirement to update. This is an immutable identifier and cannot be changed once the requirement is created.
    - `description` string — The updated description of the security requirement.
    - `domain` string — The updated security domain the requirement belongs to.
    - `evaluation` string — The updated evaluation criteria used to assess compliance with this requirement.
    - `remediation` string — The updated remediation steps when the requirement is not met.

## Response `200`

Success

- BatchUpdateSecurityRequirementsOutput
  - `updatedSecurityRequirementNames` SecurityRequirementName[], required — The list of security requirement names that were successfully updated.
  - `errors` BatchSecurityRequirementError[], required — The list of errors for security requirements that failed to be updated.
    - `securityRequirementName` string, required — The name of the security requirement that caused the error.
    - `code` string, required — The error code.
    - `message` string, required — The error message.

## Other responses

- `480` — ValidationException
- `481` — InternalServerException
- `482` — ResourceNotFoundException
- `483` — ConflictException
- `484` — ThrottlingException
- `485` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/securityagent.md) · [All operations](https://skmtc.net/aws/apis/securityagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/securityagent/versions/cad56717d636/schema)
