ckanaction

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.

POST
api_token_create

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

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