ckanaction

get_site_user

POST
get_site_user

Return the CKAN site user.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
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)

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