/permission/dissociate

This is the counterpart to `/permission/assign'. Think of it as "unassign"—the params are the exact same.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

You must pass either a content_id or a content_type.

The response results is just an integer representing the number database rows deleted. If no database rows are found 0 is returned. In such cases the call is still successful, it just that the params passed in did not have a match.

Note that is a PATCH method, even though it deletes a row in the content-permission database table. This is because we're interacting with the Permissions' assignments by their defining properties—rather than interacting with the more abstract connections (the ContentPermission table entries) by their ids.

Body Params
int32

The permission id you want to assign to the content.

int32
Defaults to null

The content id you want to assign the permission to.

string
Defaults to null

The type of contents you want to assign the permission to.

Response

Language
LoadingLoading…
Response
Choose an example:
application/json