organization_patch
Patch an organization.
The difference between the update and patch methods is that the patch will perform an update of the provided parameters, while leaving all other parameters unchanged, whereas the update methods deletes all parameters not explicitly provided in the data_dict.
Authorization
apiTokenHeader CKAN API token
In: header
Request Body
application/json
the name or id of the organization
the name of the organization, a string between 2 and 100 characters long, containing only lowercase alphanumeric characters, -, and _
the title of the organization
the description of the organization
the URL to an image to be displayed on the organization's page
the current state of the organization, e.g. 'active' or 'deleted', only active organization show up in search results and other lists of organization, this parameter will be ignored if you are not authorized to change the state of the organization (default: 'active')
the organization's extras, extras are arbitrary (key: value) metadata items that can be added to organization, each extra dictionary should have keys 'key' (a string), 'value' (a string), and optionally 'deleted'
ignored. use package_owner_org_update() to change package ownership
the users that belong to the organization, a list of dictionaries each with key 'name' (string, the id or name of the user) and optionally 'capacity' (string, the capacity in which the user is a member of the organization)
curl -X PATCH "http://localhost:5000/api/3/action/organization_patch" \ -H "Content-Type: application/json" \ -d '{}'