Mounts
Authorization
x-api-key x-api-key<token>
API key authentication. Use YOUR-GENERATED-API-KEY
In: header
Request Body
application/json
type*string
Value in
"bind" | "volume" | "file"hostPath?string|null
volumeName?string|null
content?string|null
mountPath*string
Length
1 <= lengthserviceType?string
Default
"application"Value in
"application" | "postgres" | "mysql" | "mariadb" | "mongo" | "redis" | "compose"filePath?string|null
serviceId*string
Length
1 <= length[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://your-dokploy-instance.com/api/mounts.create" \ -H "Content-Type: application/json" \ -d '{ "type": "bind", "mountPath": "string", "serviceId": "string" }'{}{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}Authorization
x-api-key x-api-key<token>
API key authentication. Use YOUR-GENERATED-API-KEY
In: header
Request Body
application/json
mountId*string
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://your-dokploy-instance.com/api/mounts.remove" \ -H "Content-Type: application/json" \ -d '{ "mountId": "string" }'{}{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}Authorization
x-api-key x-api-key<token>
API key authentication. Use YOUR-GENERATED-API-KEY
In: header
Query Parameters
mountId*string
Response Body
application/json
application/json
curl -X GET "https://your-dokploy-instance.com/api/mounts.one?mountId=string"{}{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}Authorization
x-api-key x-api-key<token>
API key authentication. Use YOUR-GENERATED-API-KEY
In: header
Request Body
application/json
mountId*string
Length
1 <= lengthtype?string
Value in
"bind" | "volume" | "file"hostPath?string|null
volumeName?string|null
filePath?string|null
content?string|null
serviceType?string
Default
"application"Value in
"application" | "postgres" | "mysql" | "mariadb" | "mongo" | "redis" | "compose"mountPath?string
Length
1 <= lengthapplicationId?string|null
postgresId?string|null
mariadbId?string|null
mongoId?string|null
mysqlId?string|null
redisId?string|null
composeId?string|null
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://your-dokploy-instance.com/api/mounts.update" \ -H "Content-Type: application/json" \ -d '{ "mountId": "string" }'{}{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}Authorization
x-api-key x-api-key<token>
API key authentication. Use YOUR-GENERATED-API-KEY
In: header
Query Parameters
applicationId*string
Length
1 <= lengthResponse Body
application/json
application/json
curl -X GET "https://your-dokploy-instance.com/api/mounts.allNamedByApplicationId?applicationId=string"{}{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}