Skip to main content

Update a server

PUT 

/tap/api/v1/servers/:serverId

Updates a server. Only fullName, email, active, custodianName, domains, and awsRoles are read; a field that is omitted or null is left unchanged, and every other field, including csr, is ignored. When email domain validation is on, the resulting email is checked even when email is not sent. Changing fullName or domains does not issue a new certificate. Certificate files are stored under a name derived from fullName, so after fullName changes, download links point to a bundle that does not exist and POST /tap/api/v1/servers/{serverId}/certificate/bundle builds a bundle without the server's certificate until the certificate is rebuilt. Requires the admin role. A non-empty bundlePath in the response is replaced with a presigned download link valid for up to 8 hours.

Request​

Responses​

The result of the update. When the change could not be saved, success is false and data is absent.