Skip to main content
POST
/
api
/
v1
/
builders
/
{uuid}
/
ssh
/
recreate
Recreate SSH access
curl --request POST \
  --url https://{subdomain}.mihu.ai/api/v1/builders/{uuid}/ssh/recreate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "expires_minutes": 60
}
'
{
  "success": true,
  "data": {
    "ssh_command": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

uuid
string<uuid>
required

Body

application/json
expires_minutes
integer
Required range: 5 <= x <= 10080
Example:

60

Response

200 - application/json

SSH access recreated.

success
boolean
Example:

true

data
object