Redirects
Authorization
x-api-key x-api-key<token>
API key authentication. Use YOUR-GENERATED-API-KEY
In: header
Request Body
application/json
regex*string
Length
1 <= lengthreplacement*string
Length
1 <= lengthpermanent*boolean
applicationId*string
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://your-dokploy-instance.com/api/redirects.create" \ -H "Content-Type: application/json" \ -d '{ "regex": "string", "replacement": "string", "permanent": true, "applicationId": "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
redirectId*string
Length
1 <= lengthResponse Body
application/json
application/json
curl -X GET "https://your-dokploy-instance.com/api/redirects.one?redirectId=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
redirectId*string
Length
1 <= length[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://your-dokploy-instance.com/api/redirects.delete" \ -H "Content-Type: application/json" \ -d '{ "redirectId": "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
redirectId*string
Length
1 <= lengthregex*string
Length
1 <= lengthreplacement*string
Length
1 <= lengthpermanent*boolean
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://your-dokploy-instance.com/api/redirects.update" \ -H "Content-Type: application/json" \ -d '{ "redirectId": "string", "regex": "string", "replacement": "string", "permanent": true }'{}{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}