---
title: "POST /security-profiles/{InstanceId}/{SecurityProfileId}"
method: POST
path: "/security-profiles/{InstanceId}/{SecurityProfileId}"
---

# POST /security-profiles/{InstanceId}/{SecurityProfileId}

`POST /security-profiles/{InstanceId}/{SecurityProfileId}`

This API is in preview release for Amazon Connect and is subject to change.

Updates a security profile.

## Path parameters

- `SecurityProfileId` string, required
- `InstanceId` string, required

## Request body

- object
  - `Description` string — The description of the security profile.
  - `Permissions` SecurityProfilePermission[] — The permissions granted to a security profile. For a list of valid permissions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List of security profile permissions</a>.
  - `AllowedAccessControlTags` object — The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
  - `TagRestrictedResources` TagRestrictedResourceName[] — The list of resources that a security profile applies tag restrictions to in Amazon Connect.

## Response `200`

Success

## Other responses

- `480` — InvalidRequestException
- `481` — InvalidParameterException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — InternalServiceException

---

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