Skip to main content
POST
/
api
/
v0
/
users
/
cloud
Create user cloud
curl --request POST \
  --url https://console.vast.ai/api/v0/users/cloud/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>",
  "provider": "<string>",
  "user_given_name": "<string>",
  "secret_access_key": "<string>",
  "access_key": "<string>",
  "application_key": "<string>",
  "key_id": "<string>",
  "state": "<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

Body

application/json
code
string

The code

provider
string

The provider

user_given_name
string

The user given name

secret_access_key
string

The secret access key

access_key
string

The access key

application_key
string

The application key

key_id
string

The key id

state
string

The state

Response

Successful response

success
boolean
Example:

true

msg
string
Example:

"Operation completed successfully"