All Products
Search
Document Center

ApsaraDB RDS:ModifyInstancesSSL

Last Updated:Mar 05, 2026

Modifies the SSL settings of RDS Supabase instances in batches.

Operation description

Supported database engine

RDS PostgreSQL

References

RDS Supabase

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
rdsai:ModifyInstancesSSLupdate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The region ID.

cn-beijing
InstanceNamesarrayYes

The information about the RDS Supabase instances that you want to configure. You can specify up to 10 instances.

stringYes

The RDS Supabase instances that you want to configure. You can specify up to 10 instances.

[ "ra-supabase-xxx", "ra-supabase-xxx" ]
SSLEnabledintegerYes

Enables or disables SSL. Valid values:

  • 1: enable
  • 0: disable
1
CATypestringNo

The certificate type. Only custom is supported.

Note This parameter is required if SSLEnabled is set to 1.
custom
ServerCertstringNo

The content of the custom certificate.

Note This parameter is required if CAType is set to custom.
-----BEGIN CERTIFICATE-----MIID*****QqEP-----END CERTIFICATE-----
ServerKeystringNo

The private key of the certificate.

Note This parameter is required if CAType is set to custom.
-----BEGIN PRIVATE KEY-----MIIE****ihfg==-----END PRIVATE KEY-----

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

32DEFB4A-xxxx-ADD5-918E4FD7AB8C
InstanceNamesarray

The RDS Supabase instances whose SSL settings are modified.

instanceNamesstring

The RDS Supabase instances whose SSL settings are modified.

[ "ra-supabase-xxx", "ra-supabase-xxx" ]

Examples

Sample success responses

JSONformat

{
  "RequestId": "32DEFB4A-xxxx-ADD5-918E4FD7AB8C",
  "InstanceNames": [
    [
      "ra-supabase-xxx",
      "ra-supabase-xxx"
    ]
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400IncorrectInstanceStateCurrent instance status does not support this operation.The operation is not supported in the current instance state.
400InvalidDBInstanceStatusDB instance status is not valid.RDS PG instance status is invalid
400InvalidGroupNameSpecified group name is not valid.Invalid group name
400InvalidParameterRequest parameter validation failed.Request parameter verification failed
400InvalidParameterThe provided parameter is invalid.Invalid parameter.
400MasterInstanceNotExistMaster instance does not exist.The primary instance does not exist.
400PermissionDeniedNo valid order found or permission denied.No valid order found or permission denied.
403InsufficientResourceCapacityThere is not enough host resource inventory.Insufficient resources
403PermissionDeniedUser has no operation permission.User has no operation permission
404TaskNotFoundThe resource of the specified ld does not exist.The resource of the specified ld does not exist.
404UserNotFoundUser does not exist.User does not exist.
429TooManyRequestsThe current maximum concurrent requests have exceeded the threshold.The current maximum number of concurrent requests has exceeded the threshold. Purchase a AI package to increase the concurrency limit or reduce the current number of concurrent requests.
500InternalErrorSystem internal exception.System internal exception

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2026-01-23Add OperationView Change Details