ckanaction

get_site_user

Return the CKAN site user.

POST
get_site_user
Authorization<token>

CKAN API token

In: header

defer_commit?boolean

by default (or if set to False) get_site_user will commit and clean up the current transaction. If set to True, caller is responsible for commiting transaction after get_site_user is called. Leaving open connections can cause CLI commands to hang! (default: False)

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