---
title: "Adds a domain to be allowed or blocked for global wallet access for this project environment"
method: POST
path: "/environments/{environmentId}/globalWallet/accessControl/domains"
tags: ["GlobalWalletAccessControl"]
---

# Adds a domain to be allowed or blocked for global wallet access for this project environment

`POST /environments/{environmentId}/globalWallet/accessControl/domains`

## Path parameters

- `environmentId` string, required

## Request body

- GlobalWalletAccessControlDomainCreateRequest
  - `domain` string, required — An [RFC 6454](https://www.rfc-editor.org/rfc/rfc6454) valid url. Must not include any paths. A single wildcard (*) can be used as the first subdomain.

## Response `201`

Global wallet access control domain was added successfully

- GlobalWalletAccessControlDomainResponse
  - `id` string, required
  - `domain` string, required — An [RFC 6454](https://www.rfc-editor.org/rfc/rfc6454) valid url. Must not include any paths. A single wildcard (*) can be used as the first subdomain.
  - `createdAt` string, date-time, required

## Other responses

- `400` — Bad Request
- `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)
