Skip to main content
PATCH
/
tenants
/
{id}
Atualizar tenant (admin)
curl --request PATCH \
  --url http://localhost:3000/tenants/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Empresa XYZ",
  "slug": "empresa-xyz",
  "whatsappRateLimit": {
    "max": 123,
    "durationMs": 123
  }
}
'

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
name
string
Example:

"Empresa XYZ"

slug
string
Example:

"empresa-xyz"

whatsappRateLimit
object

Response

Tenant atualizado