Dokploy

security

POST/security.create

security-create

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

applicationId
Required
string

username
Required
string

Minimum length: 1

password
Required
string

Minimum length: 1
Status codeDescription
200Successful response
defaultError response
curl -X POST "http://localhost:3000/api/security.create" \
  -d '{
  "applicationId": "string",
  "username": "string",
  "password": "string"
}'

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

GET/security.one

security-one

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

securityId
Required
string

Minimum length: 1
Status codeDescription
200Successful response
defaultError response
curl -X GET "http://localhost:3000/api/security.one?securityId=string"

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

POST/security.delete

security-delete

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

securityId
Required
string

Minimum length: 1
Status codeDescription
200Successful response
defaultError response
curl -X POST "http://localhost:3000/api/security.delete" \
  -d '{
  "securityId": "string"
}'

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

POST/security.update

security-update

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

securityId
Required
string

Minimum length: 1

username
Required
string

Minimum length: 1

password
Required
string

Minimum length: 1
Status codeDescription
200Successful response
defaultError response
curl -X POST "http://localhost:3000/api/security.update" \
  -d '{
  "securityId": "string",
  "username": "string",
  "password": "string"
}'

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

On this page