DevZero Logo

DevZero

Create Storage Volume Link

Link a volume for the current user

POST
/v2/teams/{team_id}/storage/volumes/{storage_volume_id}/links

Path Parameters

team_idstring

ID of team

storage_volume_idstring

ID of storage volume

Header Parameters

Authorizationstring

Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token

create storage volume link body

namespace?string

namespace to link volume to

Default"default"

Response Body

curl -X POST "https://api.devzero.io/backend/v0/v2/teams/string/storage/volumes/string/links" \
  -H "Authorization: string" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "id": "string",
  "namespace": "string",
  "storage_volume_id": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}