cryptocadet
  • 👋Welcome
  • Admin API
    • /admin/gen-ref
    • /admin/update-ref
    • /admin/gen-ref-sol
    • /admin/update-ref-sol
    • /admin/update-watchlist
    • /admin/cancel-subscription
    • /admin/update-walletAddress
    • /admin/update-solAddress
    • /admin/update-pubKey
    • /admin/update-secretKey
  • User API
    • /user/get-user
    • /user/get-ref
    • /user/options
    • /user/get-proxy
    • /user/config
    • /user/price
    • /user/customPrice
Powered by GitBook
On this page
  1. Admin API

/admin/update-secretKey

Updates secret key associated with the account. Note: The secret key should be kept secret at all times and not be shared!

await axios.post(`https://api.cryptocadet.app/api/admin/update-secretKey`, {
apiKey, 
secretKey,
uid
})

apiKey: Vxusewjwhjwrhkwwj181ksl

secretKey: sk-wwh284h2ksjfshshshsjh

uid: XP27shj24190ws

Status: 200

Data: ${newKey}

Previous/admin/update-pubKeyNext/user/get-user

Last updated 10 months ago