---
title: "Update the outcome, scope, or name of an allowlist entry by ID"
method: PUT
path: "/allowlists/{allowlistId}"
tags: ["Allowlists"]
---

# Update the outcome, scope, or name of an allowlist entry by ID

`PUT /allowlists/{allowlistId}`

## Path parameters

- `allowlistId` string, required

## Request body

- PostAllowlistsRequest
  - `name` string
  - `scope` string
  - `outcome` 'scope' | 'siteAccess' | 'block'

## Response `200`

Successful operation

- Allowlist
  - `id` string, required
  - `name` string, required
  - `enabledAt` string, date-time, nullable
  - `projectEnvironmentId` string, required
  - `scope` string, nullable
  - `outcome` 'scope' | 'siteAccess' | 'block'

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/dynamic/apis/dashboard-api.md) · [All operations](https://skmtc.net/dynamic/apis/dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dynamic/dashboard-api/revisions/aac826315d90/schema)
