{
	"operationId": "updateCertificateAuthority",
	"summary": "Update an existing Certificate Authority",
	"tags": ["Certificate Authorities"],
	"parameters": [
		{
			"in": "path",
			"name": "caID",
			"schema": {
				"type": "integer",
				"minimum": 1
			},
			"required": true,
			"description": "ID of the Certificate Authority",
			"example": 1
		}
	],
	"requestBody": {
		"description": "Certificate Authority details to update",
		"required": true,
		"content": {
			"application/json": {
				"schema": "{{schema.UpdateCertificateAuthority}}"
			}
		}
	},
	"responses": {
		"200": {
			"description": "200 response",
			"content": {
				"application/json": {
					"schema": {
						"type": "object",
						"required": ["result"],
						"properties": {
							"result": {
								"$ref": "#/components/schemas/CertificateAuthorityObject"
							}
						}
					},
					"examples": {
						"default": {
							"value": {
								"result": {
									"id": 1,
									"created_at": 1627531400000,
									"updated_at": 1627531400000,
									"name": "ZeroSSL",
									"acmesh_server": "zerossl",
									"ca_bundle": "",
									"max_domains": 10,
									"is_wildcard_supported": true,
									"is_readonly": false
								}
							}
						}
					}
				}
			}
		}
	}
}
