ckanaction

organization_member_delete

DELETE
organization_member_delete

Remove a user from an organization.

You must be authorized to edit the organization.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
id?string

the id or name of the organization

username?string

name or id of the user to be removed

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