Skip to main content
POST
/
api
/
v0
/
users
/
{user_id}
/
template
Create user template
curl --request POST \
  --url https://console.vast.ai/api/v0/users/{user_id}/template/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "template_id": "<string>"
}
'
{
  "success": true,
  "msg": "Operation completed successfully"
}

Documentation Index

Fetch the complete documentation index at: https://vastai-80aa3a82-auto-openapi-preview-pr-4175.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

user_id
integer
required

The user id

Body

application/json
template_id
string

The template id

Response

Successful response

success
boolean
Example:

true

msg
string
Example:

"Operation completed successfully"