Projects

Regenerate project SSH key

Regenerates the project SSH key and returns the new public key. key_type is optional and defaults to the existing project's algorithm; must be one of ED25519 or RSA when provided.

patch/projects/{id}/regenerate_key

Request

  • Base URL: https://sg.deployhq.com
  • URL: https://sg.deployhq.com/projects/{id}/regenerate_key
  • Auth: HTTP basic

Path parameters

idstring required

The identifier or permalink of the project

Request body

Response

Success

public_keystring required

Changes

No recorded changes to this operation across all 1 revision of this API.