ckanaction

file_rename

POST
file_rename

Rename the file.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
id?string

ID of the file

name?string

new name of the file

Example Request
curl -X POST 'http://localhost:5000/api/3/action/file_rename' \  -H 'Content-Type: application/json' \  -d '{}'