Rename file from portal

POST {{baseUrl}}/api/portals/:portalId/files/rename

Rename a file on an upload portal (requires JWT auth).

Request Body

{"oldPath"=>"<string>", "newPath"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;error&quot;:&quot;\u003cstring\u003e&quot;}