delete Storage V1Storage Class

DELETE {{baseUrl}}/apis/storage.k8s.io/v1/storageclasses/:name?dryRun=deserunt ea minim&gracePeriodSeconds=13567150&orphanDependents=true&propagationPolicy=deserunt ea minim&pretty=deserunt ea minim

delete a StorageClass

Request Params

KeyDatatypeRequiredDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
gracePeriodSecondsnumberThe duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
orphanDependentsbooleanDeprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
propagationPolicystringWhether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
prettystringIf 'true', then the output is pretty printed.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"provisioner":"","allowVolumeExpansion":true,"allowedTopologies":[{"matchLabelExpressions":[{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"values":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"values":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},{"matchLabelExpressions":[{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"values":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"values":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}],"apiVersion":"nostrud enim","kind":"et reprehenderit","metadata":{"annotations":{"officia0c":"","cillum05":""},"creationTimestamp":"1976-02-10T03:52:57.050Z","deletionGracePeriodSeconds":-87181375,"deletionTimestamp":"1951-07-08T19:51:36.975Z","finalizers":["",""],"generateName":"aliqua anim","generation":65173551,"labels":{"Lorem8a":""},"managedFields":[{"apiVersion":"pariatur in","fieldsType":"culpa proident velit esse","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"laborum","operation":"deserunt ea","subresource":"ex commodo magna amet","time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"apiVersion":"culpa voluptate","fieldsType":"consequat Duis sit incididunt","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"cillum in aute","operation":"incididunt proident cillum","subresource":"sint est","time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"name":"ut eiusmod cillum dolor","namespace":"cillum Ut","ownerReferences":[{"apiVersion":"","kind":"","name":"","uid":"","blockOwnerDeletion":true,"controller":false},{"apiVersion":"","kind":"","name":"","uid":"","blockOwnerDeletion":true,"controller":false}],"resourceVersion":"pariatur labore","selfLink":"sit laborum enim","uid":"do consectetur"},"mountOptions":["",""],"parameters":{"Duise":""},"reclaimPolicy":"Lorem est","volumeBindingMode":"dolor nostrud"}