4.3. Deleting traits

DELETE /traits/{name}

Delete a custom trait with the specified name.

Source: https://docs.openstack.org/api-ref/placement/?expanded=update-resource-provider-traits-detail,delete-traits-detail,list-resource-provider-traits-detail,update-traits-detail#delete-traits

4.3.1. Request

Name In Type Description
name path string The name of a trait. Example

curl -ks -X DELETE -H 'Content-Type: application/json' -H 'OpenStack-API-Version: placement 1.32' -H 'X-Auth-Token: gAAAAA<...>' \

4.3.2. Response Status codes Success

Code Reason
204 - No Content The server has fulfilled the request. Error

Code Reason
400 - Bad Request Some content in the request was invalid.
404 - Not Found The requested resource could not be found.
409 - Conflict This operation conflicted with another operation on this resource.