patch https://{app}.{filespin}.{io}/api/v1/user/settings/update
Update auth
by sending below payload. All keys are mandatory.
REQUEST JSON
{
"key": "auth",
"value": {
"upload_key": "UPLOAD_KEY",
"authorized_domains": "filespin.io, myapp.example.org",
"dropbox_app_key": "DROPBOX_KEY",
"dropbox_app_secret": "DROPBOX_SECRET",
"api_key": "API_KEY"
}
}
REQUEST PARAMETERS
Key values can be empty strings.
Parameters | Type | Description |
---|---|---|
key | string | Set to auth |
value . upload_key | string | Must be RFC4122 compliant hex value of UUID4 (that is, only alphanumeric characters are allowed, - is not allowed). |
value .authorized_domains | string | Controls domain names allowed for this upload_key used in File Picker. Empty value here will allow all domains. A maximum of ten domains are allowed, naked domains (like filespin.io) will authorize all subdomains. |
value .dropbox_app_key | string | Dropbox App Key for FileSpin File Picker Dropbox uploads |
value .dropbox_app_secret | string | Dropbox App Secret for FileSpin File Picker Dropbox uploads |
value .api_key | string | Must be RFC4122 compliant hex value of UUID4 (that is, only alphanumeric characters are allowed, - is not allowed) |