PUT /admin/communication/providers/{template_id}
Update the credentials, activation status, and priority of a specified provider configuration. Supports partial updates (only send fields to modify). Configuration credentials are stored encrypted. References: ePrivacy Directive 2002/58/EC, CAN-SPAM Act.
Communication Service `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
Provider configuration ID |
Request Body
Schema: dto.UpdateProviderConfigRequest
| Field | Type | Required | Example | Constraints | Description |
config |
string |
No |
|
|
|
is_active |
boolean |
No |
|
|
|
priority |
integer |
No |
|
|
|
Referenced Schemas
dto.ProviderConfigDataResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.ProviderConfigResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.ProviderConfigResponse
| Field | Type | Required | Example | Constraints | Description |
app_id |
string |
No |
|
|
|
channel |
string |
No |
|
|
|
config |
string |
No |
|
|
|
created_at |
string |
No |
|
|
|
id |
string |
No |
|
|
|
is_active |
boolean |
No |
|
|
|
priority |
integer |
No |
|
|
|
provider |
string |
No |
|
|
|
tenant_id |
string |
No |
|
|
|
updated_at |
string |
No |
|
|
|
dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|