2.2 KiB
Return to top
Create service
======================================================================================================
POST
/services
Create a one-click / custom service
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
application/json
SchemaJSON
JSON
{
"type": "string",
"name": "string",
"description": "string",
"project_uuid": "string",
"environment_name": "string",
"environment_uuid": "string",
"server_uuid": "string",
"destination_uuid": "string",
"instant_deploy": false,
"docker_compose_raw": "string",
"urls": [
{
"name": "string",
"url": "string"
}
],
"force_domain_override": false,
"is_container_label_escape_enabled": true
}
Responses
201400401409422
Service created successfully.
Content-Type
application/json
SchemaJSON
JSON
{
"uuid": "string",
"domains": [
"string"
]
}
POST
/services
Playground
Authorization
bearerAuth
Body
Try it out
Samples
Powered by VitePress OpenAPI