Volumes
Update a volume
Changed onUpdate an existing volume's configuration or contents
patch/v1/deployments/storage/volumes/{id}
Request
- Base URLhttps://api.together.ai
- URLhttps://api.together.ai/v1/deployments/storage/volumes/{id}
- AuthHTTP bearer
Path parameters
idstring required
Volume ID or name.
Request body
Example request
{
"content": {
"origin": {
"s3": {
"role_arn": "arn:aws:iam::123456789012:role/together-volumes",
"uri": "s3://my-bucket/models/custom-weights"
}
},
"source_prefix": "models/",
"type": "files"
}
}Response
Volume updated successfully
Example response
{
"content": {
"origin": {
"s3": {
"role_arn": "arn:aws:iam::123456789012:role/together-volumes",
"uri": "s3://my-bucket/models/custom-weights"
}
},
"source_prefix": "models/",
"type": "files"
}
}Changes
- info
endpoint added
- info