Skip to content

Update the account custom integration settings

Request

Security
bearerToken
Bodyapplication/jsonrequired
allowedWebOriginUrlsArray of strings or null

Allowed origins for use in the cross-origin authentication flow

allowedCallbackUrlsArray of strings or null

Allowed URLs for callback (i.e. with generated access token) during authentication flow

allowedLogoutUrlsArray of strings or null

Allowed URLs to redirect to after logout

curl -i -X PATCH \
  https://api-v2.dash.app/custom-integration-settings \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "allowedWebOriginUrls": [
      "https://my-app.com"
    ],
    "allowedCallbackUrls": [
      "https://my-app.com/callback"
    ],
    "allowedLogoutUrls": [
      "https://my-app.com/callback"
    ]
  }'

Responses

Success

Bodyapplication/json
resultobjectrequired
permittedActionsArray of objectsrequired
Response
{ "result": { "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "clientId": "CFB665Cace354418B9D570EE815DB4bd", "clientSecret": "EE815DB4-CFB665Ca-fzHDlUibM9g6JwiOXf9Vxh6f_egJD", "allowedWebOriginUrls": [], "allowedCallbackUrls": [], "allowedLogoutUrls": [] }, "permittedActions": [ {} ] }