---
title: "POST /v1/projects/{project}/instances/{instance}/addServerCa"
method: POST
path: "/v1/projects/{project}/instances/{instance}/addServerCa"
tags: ["instances"]
---

# POST /v1/projects/{project}/instances/{instance}/addServerCa

`POST /v1/projects/{project}/instances/{instance}/addServerCa`

Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in. For instances that have enabled Certificate Authority Service (CAS) based server CA, use AddServerCertificate to add a new server certificate.

## Path parameters

- `project` string, required
- `instance` string, required

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/sqladmin.md) · [All operations](https://skmtc.net/google/apis/sqladmin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/sqladmin/versions/e9eef8a2afcd/schema)
