The server's key stops working at once, and its waiting commands fail.
Answers with a new command for the same server, which works once, for 15
minutes. Run it there to join again. On a self-hosted Pyo, a server that
shows needsUpdate gets the command that updates it instead (Update):
it takes no commands until the command runs there. Its sandboxes keep
running. Team owners and admins, or the installation's admin for its own
servers.
API key access: full.
apiKeyAuthorizationBearer <pyo_…>An API key from the dashboard's API keys page: Authorization: Bearer pyo_…. Keys can expire, and an expired one gets a 401.
id*stringThe sandbox server's id, sbs_….
server, command (run it on the server as root), expiresAt (when the code runs out) and pyoUrl.
application/jsoncurl -X POST 'https://your-pyo.example.com/api/v1/sandbox-servers/string/reset-access'{}