Volumes /
Detach volume
Detach a volume
Required permission
Project > Volumes > General > Update
Path parameters
projectId
string requiredID of the project
volumeId
string requiredID of the volume
Request body
- {object}
Response body
- {object}
Response object.
data
{object} requiredResult data.
API
CLI
JS Client
POST /v1/projects/{projectId}/volumes/{volumeId}/detach
Example request
Request body
curl
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request POST \
--data 'undefined' \
http://api.northflank.com/v1/projects/{projectId}/volumes/{volumeId}/detach
Example response
200 OK
The operation was performed successfully.
JSON
{
"data": {}
}