v2

latestOpenAPI 3.0.12026-07-26334612609.5 KB
GlobalWalletAccessControl

Updates a global wallet access control for this project environment

put/environments/{environmentId}/globalWallet/accessControl

Path parameters

environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

ID of the environment

Request body

type'allow' | 'block' required

Response

Global wallet access control was updated successfully

idstring required
projectEnvironmentIdstring required
type'allow' | 'block' required
enabledAtstring date-time nullable required

Example response

{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
  "domains": [
    {
      "id": "95b11417-f18f-457f-8804-68e361f9164f",
      "domain": "http://*.example.com"
    }
  ]
}