diff --git a/dcache-namespace.html b/dcache-namespace.html index bbba09a..27194b3 100644 --- a/dcache-namespace.html +++ b/dcache-namespace.html @@ -234,7 +234,7 @@ } /* - * ### Performs a request to add a new label to a file. + * ### Performs a request to remove the label from a file. * @param {{ * options: (object)}} options - * `url`: (String) The url with the dcache restful-api path @@ -250,7 +250,7 @@ let opt = {}; opt.url = this._appendFullPathToUrl(options.url, options.path); opt.label = options.label; - this._send(opt, "remove-label"); + this._send(opt, "rm-label"); } catch (e) { this.rejectPromise(new Error("Could not proceed with the request. " + e.message)); }