Files

92 lines
2.0 KiB
Markdown
Raw Permalink 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/restart-database-by-uuid#VPContent)
Return to top
Restart[](https://coolify.io/docs/api-reference/api/operations/restart-database-by-uuid#restart)
==================================================================================================
GET
/databases/{uuid}/restart
Restart database. `Post` request is also accepted.
Authorizations[](https://coolify.io/docs/api-reference/api/operations/restart-database-by-uuid#authorizations)
----------------------------------------------------------------------------------------------------------------
bearerAuth
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
Type
HTTP (bearer)
Parameters[](https://coolify.io/docs/api-reference/api/operations/restart-database-by-uuid#parameters)
--------------------------------------------------------------------------------------------------------
### Path Parameters
uuid\*
UUID of the database.
Type
string
Required
Responses[](https://coolify.io/docs/api-reference/api/operations/restart-database-by-uuid#responses)
------------------------------------------------------------------------------------------------------
200400401404
Restart database.
Content-Type
application/json
SchemaJSON
JSON
{
"message": "Database restaring request queued."
}
GET
/databases/{uuid}/restart
Playground[](https://coolify.io/docs/api-reference/api/operations/restart-database-by-uuid#playground)
--------------------------------------------------------------------------------------------------------
Authorization
bearerAuth
Variables
Key
Value
uuid\*
Try it out
Samples[](https://coolify.io/docs/api-reference/api/operations/restart-database-by-uuid#samples)
--------------------------------------------------------------------------------------------------
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)