---
title: "PUT /workspaces/{workspaceId}/rulegroupsnamespaces/{name}"
method: PUT
path: "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}"
---

# PUT /workspaces/{workspaceId}/rulegroupsnamespaces/{name}

`PUT /workspaces/{workspaceId}/rulegroupsnamespaces/{name}`

Update a rule groups namespace.

## Path parameters

- `name` string, required — The namespace name that the rule group belong to.
- `workspaceId` string, required — A workspace ID.

## Request body

- object
  - `clientToken` string — An identifier used to ensure the idempotency of a write request.
  - `data` string, required — The rule groups namespace data.

## Response `202`

Success

- PutRuleGroupsNamespaceResponse — Represents the output of a PutRuleGroupsNamespace operation.
  - `arn` string, required — The Amazon Resource Name (ARN) of this rule groups namespace.
  - `name` string, required — The rule groups namespace name.
  - `status` object, required — The status of rule groups namespace.
    - `statusCode` 'CREATING' | 'ACTIVE' | 'UPDATING' | 'DELETING' | 'CREATION_FAILED' | 'UPDATE_FAILED', required — Status code of this namespace.
    - `statusReason` string — The reason for failure if any.
  - `tags` object — The tags of this rule groups namespace.

## Other responses

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

---

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