Skip to main content
PUT
/
instances
/
{id}
/
s3-config
Configurar S3
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/"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Body

application/json
bucket
string
required
Example:

"my-wapizap-media"

region
string
required
Example:

"us-east-1"

accessKey
string
required
secretKey
string
required
endpoint
string

Endpoint customizado (opcional)

prefix
string

Prefixo para os arquivos

Example:

"media/"

Response

200

S3 configurado