api_token_create
Create new API Token for current user.
Apart from the user and name field that are required by default implementation, there may be additional fields registered by extensions.
Authorization
apiTokenHeader Authorization<token>
CKAN API token
In: header
Request Body
application/json
user?string
name or id of the user who owns new API Token
name?string
distinctive name for API Token
curl -X POST "http://localhost:5000/api/3/action/api_token_create" \ -H "Content-Type: application/json" \ -d '{}'