POST
/
environments
/
{environmentId}
/
globalWallet
/
accessControl
/
domains
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/environments/{environmentId}/globalWallet/accessControl/domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "domain": "http://*.example.com"
}'
{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "domain": "http://*.example.com",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Body

application/json

Fields necessary to add the global wallet access control domain

The body is of type object.

Response

201
application/json

Global wallet access control domain was added successfully

The response is of type object.