ckanaction

package_relationship_update

Update a relationship between two datasets (packages).

The subject, object and type parameters are required to identify the relationship. Only the comment can be updated.

You must be authorized to edit both the subject and the object datasets.

PUT
package_relationship_update

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

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