ckanaction

package_collaborator_delete

DELETE
package_collaborator_delete

Remove a collaborator from a dataset.

Currently you must be an Admin on the dataset owner organization to manage collaborators.

Note: This action requires the collaborators feature to be enabled with the ckan.auth.allow_dataset_collaborators configuration option.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
id?string

the id or name of the dataset

user_id?string

the id or name of the user to remove

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