Update Plan
PUT /api/v1/admin/plans/{plan_id}
PUT
/api/v1/admin/plans/{plan_id}
Atualizar plano existente. Apenas superadmin.
Authorizations
Seção intitulada “Authorizations ”Parameters
Seção intitulada “ Parameters ”Path Parameters
Seção intitulada “Path Parameters ” plan_id
required
Plan Id
integer
Request Body required
Seção intitulada “Request Body required ” PlanUpdate
Schema para atualizar plano.
object
Responses
Seção intitulada “ Responses ”Successful Response
PlanResponse
Schema de resposta para plano.
object
name
required
Name
string
slug
required
Slug
string
is_active
Is Active
boolean
is_featured
Is Featured
boolean
sort_order
Sort Order
integer
id
required
Id
integer
max_users
required
Max Users
integer
max_contacts
required
Max Contacts
integer
max_companies
required
Max Companies
integer
max_deals
required
Max Deals
integer
max_storage_mb
required
Max Storage Mb
integer
max_ai_credits_monthly
required
Max Ai Credits Monthly
integer
max_custom_assistants
required
Max Custom Assistants
integer
max_automations
required
Max Automations
integer
max_workflow_executions_monthly
required
Max Workflow Executions Monthly
integer
max_email_sends_monthly
required
Max Email Sends Monthly
integer
max_whatsapp_sessions
required
Max Whatsapp Sessions
integer
max_channels
required
Max Channels
integer
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string