Onedata API Reference

REST API references for Onezone, Oneprovider, and Onepanel.

Remove QoS requirement

DELETE /qos_requirements/{qid}

Removes QoS requirement.

Example cURL requests

Remove QoS requirement.

curl -H "X-Auth-Token: $TOKEN" -X DELETE \
-H "Content-type: application/json" \
"https://$HOST/api/v3/oneprovider/qos-requirements/$QOS_REQ_ID"

Path parameters

Parameter Type & Description
qid required
string

QoS requirement Id (e.g. 'c84f669f9522c46976fee490d80651f0')

Request Examples

Shell
oneprovider-rest-cli removeQosRequirement qid=$QOS_REQ_ID

Responses

application/json
204

QoS requirement has been deleted.

400

Invalid request.

PropertyType & Description
error
string

Identifier representing internal error code.

error_description
string

Detailed error message.

Example

application/json
{
  "error": "invalid_token",
  "error_description": "Provided token could not be validated."
}
403

Forbidden request.

PropertyType & Description
error
string

Identifier representing internal error code.

error_description
string

Detailed error message.

Example

application/json
{
  "error": "invalid_token",
  "error_description": "Provided token could not be validated."
}
404

QoS requirement not found.

PropertyType & Description
error
string

Identifier representing internal error code.

error_description
string

Detailed error message.

Example

application/json
{
  "error": "invalid_token",
  "error_description": "Provided token could not be validated."
}
500

Internal server error.

PropertyType & Description
error
string

Identifier representing internal error code.

error_description
string

Detailed error message.

Example

application/json
{
  "error": "invalid_token",
  "error_description": "Provided token could not be validated."
}