POST
/
gpu-instance
/
openapi
/
v1
/
template
/
delete

Request Headers

Content-Type
string
required

Enum: application/json

Authorization
string
required

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

Request Body

templateId
string
required

The ID of the template to be deleted.

Response

templateId
string

The ID of the deleted template.

Example

Request

curl --request POST \
  --url 'https://api.novita.ai/gpu-instance/openapi/v1/template/delete' \
  --header 'Authorization: Bearer {{API Key}}' \
  --header 'Content-Type: application/json' \
  --data '{
    "templateId": "<string>"
  }'

Response

{
  "templateId": "<string>"
}