Unlock a locked manager Run in API Explorer

POST /swarm/unlock
application/json

Body Required

  • UnlockKey string

    The swarm's unlock key.

Responses

  • 200

    no error

  • 500 application/json

    server error

    Hide response attribute Show response attribute object
    • message string Required

      The error message.

  • 503 application/json

    node is not part of a swarm

    Hide response attribute Show response attribute object
    • message string Required

      The error message.

POST /swarm/unlock
curl \
 --request POST 'http://api.example.com/v1.44/swarm/unlock' \
 --header "Content-Type: application/json" \
 --data '{"UnlockKey":"SWMKEY-1-7c37Cc8654o6p38HnroywCi19pllOnGtbdZEgtKxZu8"}'
Request examples
{
  "UnlockKey": "SWMKEY-1-7c37Cc8654o6p38HnroywCi19pllOnGtbdZEgtKxZu8"
}
Response examples (500)
{
  "message": "Something went wrong."
}
Response examples (500)
{
  "message": "Something went wrong."
}
Response examples (503)
{
  "message": "Something went wrong."
}
Response examples (503)
{
  "message": "Something went wrong."
}