/api/v0/config/replace

Replace the config with <file>.

Arguments

Request Body

Argument file is of file type. This endpoint expects one or several files (depending on the command) in the body of the request as 'multipart/form-data'.

Response

On success, the call to this endpoint will return with 200 and the following body:

This endpoint returns a `text/plain` response body.

cURL Example

curl -X POST -F file=@myfile "http://127.0.0.1:5001/api/v0/config/replace"

Last updated