curl --request PUT \
--url https://api.wapizap.com/api/v2/instances/{id}/s3-config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bucket": "my-wapizap-media",
"region": "us-east-1",
"accessKey": "<string>",
"secretKey": "<string>",
"endpoint": "<string>",
"prefix": "media/"
}
'