PUT
/
environments
/
{environmentId}
/
globalWallet
/
settings
curl --request PUT \
  --url https://app.dynamicauth.com/api/v0/environments/{environmentId}/globalWallet/settings \
  --header 'Content-Type: application/json' \
  --data '{
  "walletName": "An example name",
  "popupPageTitle": "An example name",
  "walletIconUrl": "https://website-sample/icon.svg",
  "customCssUrl": "https://website-sample/custom.css"
}'
{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "walletName": "An example name",
  "popupPageTitle": "An example name",
  "walletIconUrl": "https://website-sample/icon.svg",
  "customCssUrl": "https://website-sample/custom.css",
  "enabledAt": "2023-11-07T05:31:56Z"
}

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Example:

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

Body

application/json
walletName
string
Maximum length: 50
Example:

"An example name"

popupPageTitle
string
Maximum length: 50
Example:

"An example name"

walletIconUrl
string
Example:

"https://website-sample/icon.svg"

customCssUrl
string
Example:

"https://website-sample/custom.css"

Response

200
application/json
Successfully updated global wallet settings
id
string
required
Required string length: 36
Example:

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

walletName
string
required
Maximum length: 50
Example:

"An example name"

popupPageTitle
string
Maximum length: 50
Example:

"An example name"

walletIconUrl
string
Example:

"https://website-sample/icon.svg"

customCssUrl
string
Example:

"https://website-sample/custom.css"

enabledAt
string | null

If global wallet is enabled, then this timestamp will be present.