Dokploy
Generated

Redirects

POST
/redirects.create

Redirects create

/redirects.create

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

regex
Required
string

Minimum length: 1

replacement
Required
string

Minimum length: 1

permanent
Required
boolean

applicationId
Required
string

curl -X POST "http://your-dokploy-instance.com/api/redirects.create" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "regex": "string",
    "replacement": "string",
    "permanent": true,
    "applicationId": "string"
  }'

Successful response

GET
/redirects.one

Redirects one

/redirects.one

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

redirectId
Required
string

Minimum length: 1
curl -X GET "http://your-dokploy-instance.com/api/redirects.one?redirectId=string" \
  -H "Authorization: Bearer <token>"

Successful response

POST
/redirects.delete

Redirects delete

/redirects.delete

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

redirectId
Required
string

Minimum length: 1
curl -X POST "http://your-dokploy-instance.com/api/redirects.delete" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "redirectId": "string"
  }'

Successful response

POST
/redirects.update

Redirects update

/redirects.update

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

redirectId
Required
string

Minimum length: 1

regex
Required
string

Minimum length: 1

replacement
Required
string

Minimum length: 1

permanent
Required
boolean

curl -X POST "http://your-dokploy-instance.com/api/redirects.update" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "redirectId": "string",
    "regex": "string",
    "replacement": "string",
    "permanent": true
  }'

Successful response