2.6 KiB
Return to top
Update
==============================================================================================
PATCH
/services/{uuid}
Update service 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
Path Parameters
uuid*
UUID of the service.
Type
string
Required
Request Body
application/json
SchemaJSON
JSON
{
"name": "string",
"description": "string",
"project_uuid": "string",
"environment_name": "string",
"environment_uuid": "string",
"server_uuid": "string",
"destination_uuid": "string",
"instant_deploy": true,
"connect_to_docker_network": false,
"docker_compose_raw": "string",
"urls": [
{
"name": "string",
"url": "string"
}
],
"force_domain_override": false,
"is_container_label_escape_enabled": true
}
Responses
200
Service updated.
Content-Type
application/json
SchemaJSON
JSON
{
"uuid": "string",
"domains": [
"string"
]
}
PATCH
/services/{uuid}
Playground
Authorization
bearerAuth
Variables
Key
Value
uuid*
Body
Try it out
Samples
Powered by VitePress OpenAPI