1. Config Service
Gau Backend Microservices
  • Default module
    • Config Service
      • Get
        GET
      • Update
        PUT
      • Delete
        DELETE
      • Create
        POST
      • Health
        GET
    • Account Service
      • Authentication
        • Register
        • Login
        • Oauth2
      • Profile
        • Get
        • Upload Avatar
        • Update
    • License Service
      • Create
      • Active
      • Verify
      • Detail
      • Revoke
      • Health
    • Authorization Service
      • Create
      • Renew
      • Check
      • Health
      • Revoke
    • Upload Service
      • [File] Upload File
      • [File] Get Upload File
    • Legacy
      • CDN Service
        • [CDN] Get File
      • Account Service
        • Basic Auth
          • [Auth] Login
          • [Auth] Register
          • [Auth] Logout
        • OAuth 2.0
          • [Auth] Google Login
          • [Auth] Logout
        • Profile
          • [Profile] Update Profile
          • [Profile] Get Profile
          • [Profile] Get Security Info
          • [Profile] Update Avatar
          • [Profle] Get All Data
        • MFA
          • [TOTP] Get TOTP Authentication
          • [TOTP] Enable TOTP Authentication
          • [TOTP] Verify Login
  1. Config Service

Update

Developing
PUT
https://api.gauas.com/v1/config
Maintainer:Not configured

Request

Query Params

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.gauas.com/v1/config?service=upload-service&environment=staging' \
--header 'Secret-Key: gauasnumberone' \
--header 'Authorization: Bearer {{ACCESS-TOKEN}}' \
--header 'Content-Type: application/json' \
--data '{
    "FILE_MAX_SIZE": 10485760,
    "PORT": "8080",
    "QUEUE_HOST": "rabbitmq.staging.svc.cluster.local",
    "QUEUE_PASSWORD": "Qu_bao1604",
    "QUEUE_PORT": "5672",
    "QUEUE_USERNAME": "admin",
    "STORAGE_ACCESS_KEY": "022a88a04bb914c0b1c28269697f47e1",
    "STORAGE_ENDPOINT": "https://cc2ebda510a2e05c5443f9cf6286dd43.r2.cloudflarestorage.com",
    "STORAGE_REGION": "auto",
    "STORAGE_SECRET_KEY": "7e086cb693df271adcae064c3aa6771f6cffe544027acbb0beab0e7852a2ef0d",
    "STORAGE_USE_SSL": "true",
    "TEMP_DIR": "/tmp/gau-upload",
    "CDN_URL" : "https://cdn.gauas.com"
}'
Response Response Example
{}
Modified at 2026-05-27 13:58:12
Previous
Get
Next
Delete
Built with