Dokploy
Generated

Certificates

POST
/certificates.create

Certificates create

/certificates.create

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

certificateIdstring

name
Required
string

Minimum length: 1

certificateData
Required
string

Minimum length: 1

privateKey
Required
string

Minimum length: 1

certificatePathstring

autoRenewboolean | null

adminIdstring | null

serverIdstring | null

curl -X POST "http://your-dokploy-instance.com/api/certificates.create" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "certificateId": "string",
    "name": "string",
    "certificateData": "string",
    "privateKey": "string",
    "certificatePath": "string",
    "autoRenew": true,
    "adminId": "string",
    "serverId": "string"
  }'

Successful response

GET
/certificates.one

Certificates one

/certificates.one

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

certificateId
Required
string

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

Successful response

POST
/certificates.remove

Certificates remove

/certificates.remove

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

certificateId
Required
string

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

Successful response

GET
/certificates.all

Certificates all

/certificates.all

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

curl -X GET "http://your-dokploy-instance.com/api/certificates.all" \
  -H "Authorization: Bearer <token>"

Successful response