POST
/
gpu-instance
/
openapi
/
v1
/
repository
/
auth
/
save
curl --request POST \
  --url https://api.novita.ai/gpu-instance/openapi/v1/repository/auth/save \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '{
  "name": "<string>",
  "username": "<string>",
  "password": "<string>"
}'

Request Headers

Content-Type
string
required

Enum: application/json

Authorization
string
required

Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

name
string
required
username
string
required
password
string
required

Example

Request

curl --request POST \
  --url 'https://api.novita.ai/gpu-instance/openapi/v1/repository/auth/save' \
  --header 'Authorization: Bearer {{API Key}}' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "<string>",
    "username": "<string>",
    "password": "<string>"
  }'

Response

{}