Autional Autional
API Reference GitHub autional.com →

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

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Provider configuration ID

Request Body

Schema: dto.UpdateProviderConfigRequest

FieldTypeRequiredExampleConstraintsDescription
config string No
is_active boolean No
priority integer No

Responses

StatusDescriptionSchema
200Update successful, returns updated configuration details (credentials masked)dto.ProviderConfigDataResponse
400Invalid request parametersdto.SimpleResponse
401Unauthenticated or invalid tokendto.SimpleResponse
403Insufficient permissions to access this resourcedto.SimpleResponse
404Configuration not founddto.SimpleResponse
500Internal server errordto.SimpleResponse

Referenced Schemas

dto.ProviderConfigDataResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.ProviderConfigResponse No
message string No
timestamp string No

dto.ProviderConfigResponse

FieldTypeRequiredExampleConstraintsDescription
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

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No