Files
Proxmox-Coolify-Manager/coolify_skill/references/ops/update-private-key.md
T

90 lines
1.8 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[Skip to content](https://coolify.io/docs/api-reference/api/operations/update-private-key#VPContent)
Return to top
Update[](https://coolify.io/docs/api-reference/api/operations/update-private-key#update)
==========================================================================================
PATCH
/security/keys
Update a private key.
Authorizations[](https://coolify.io/docs/api-reference/api/operations/update-private-key#authorizations)
----------------------------------------------------------------------------------------------------------
bearerAuth
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
Type
HTTP (bearer)
Request Body[](https://coolify.io/docs/api-reference/api/operations/update-private-key#request-body)
------------------------------------------------------------------------------------------------------
application/json
SchemaJSON
JSON
{
"name": "string",
"description": "string",
"private\_key": "string"
}
Responses[](https://coolify.io/docs/api-reference/api/operations/update-private-key#responses)
------------------------------------------------------------------------------------------------
201400401422
The updated private key's UUID.
Content-Type
application/json
SchemaJSON
JSON
{
"uuid": "string"
}
PATCH
/security/keys
Playground[](https://coolify.io/docs/api-reference/api/operations/update-private-key#playground)
--------------------------------------------------------------------------------------------------
Authorization
bearerAuth
Body
Try it out
Samples[](https://coolify.io/docs/api-reference/api/operations/update-private-key#samples)
--------------------------------------------------------------------------------------------
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)