Update SSL certificate's friendly name

This function changes a certificate's friendly name.

Important:

When you disable the Calendars and Contacts, Receive Mail, Web Disk, Webmail, and Web Server roles, the system disables this function.

Authorizations:
query Parameters
friendly_name
required
string

The certificate's friendly name.

Example: friendly_name=TestCert
new_friendly_name
required
string

The certificate's new friendly name.

Example: new_friendly_name=TestCert2

Responses

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object

Request samples

uapi --output=jsonpretty \
  --user=username \
  SSL \
  set_cert_friendly_name \
  friendly_name='TestCert' \
  new_friendly_name='TestCert2'

Response samples

Content type
application/json
{
  • "apiversion": 3,
  • "func": "set_cert_friendly_name",
  • "module": "SSL",
  • "result": {
    • "data": null,
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}