curl --request DELETE \
--url https://api.blaxel.ai/v0/volume_templates/{volumeTemplateName} \
--header 'Authorization: Bearer <token>'{
"metadata": {
"name": "my-resource",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"displayName": "My Resource",
"labels": {},
"plan": "<string>",
"url": "<string>",
"workspace": "<string>"
},
"spec": {
"defaultSize": 123,
"description": "<string>"
},
"state": {
"lastVersionUploadedAt": "<string>",
"latestVersion": "<string>",
"status": "created",
"versionCount": 123
},
"versions": [
{
"bucket": "<string>",
"contentSize": 123,
"name": "<string>",
"region": "<string>",
"status": "CREATED",
"templateName": "<string>",
"versionId": "<string>",
"workspace": "<string>"
}
]
}Deletes a volume template by name.
curl --request DELETE \
--url https://api.blaxel.ai/v0/volume_templates/{volumeTemplateName} \
--header 'Authorization: Bearer <token>'{
"metadata": {
"name": "my-resource",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"displayName": "My Resource",
"labels": {},
"plan": "<string>",
"url": "<string>",
"workspace": "<string>"
},
"spec": {
"defaultSize": 123,
"description": "<string>"
},
"state": {
"lastVersionUploadedAt": "<string>",
"latestVersion": "<string>",
"status": "created",
"versionCount": 123
},
"versions": [
{
"bucket": "<string>",
"contentSize": 123,
"name": "<string>",
"region": "<string>",
"status": "CREATED",
"templateName": "<string>",
"versionId": "<string>",
"workspace": "<string>"
}
]
}OAuth2 authentication with JWT tokens
Name of the volume template
successful operation
Volume template for creating pre-configured volumes
Common metadata fields shared by all Blaxel resources including name, labels, timestamps, and ownership information
Show child attributes
Volume template specification
Show child attributes
Volume template state
Show child attributes
List of versions for this template
Show child attributes
Was this page helpful?