def update_custom_certs(
    self,
    alias: str,
    key: str,
    expiration: str,
    issuer: str,
    issued_to: str,
    last_timestamp: str = "",
) -> bool:
    """Add new or update existing custom CA certificate

    .. list-table::
        :header-rows: 1

        * - Swagger Section
          - Method
          - Endpoint
        * - customCerts
          - POST
          - /customCert

    :param alias: Alias used to identify the CA Certificate
    :type alias: str
    :param key: The CA Certificate
    :type key: str
    :param expiration: CA Certificate's expiration date
    :type expiration: str
    :param issuer: CA Certificate's issuer
    :type issuer: str
    :param issued_to: CA Certificate's issued to
    :type issued_to: str
    :param last_timestamp: The timestamp of the last time the CA
        Certificate was updated in Orchestrator
    :type last_timestamp: str, optional
    :return: Returns True/False based on successful call
    :rtype: bool
    """
    data = {
        "alias": alias,
        "key": key,
        "lastUpdatedTimestamp": last_timestamp,
        "expiration": expiration,
        "issuer": issuer,
        "issuedTo": issued_to,
    }

    return self._post(
        "/customCert",
        data=data,
        expected_status=[204],
        return_type="bool",
    )