Revoke permission on datasets from a principal (user or role).
cURL
curl --request DELETE \ --url https://api.cognee.ai/api/v1/permissions/datasets/{principal_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ] '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Documentation IndexFetch the complete documentation index at: https://docs.cognee.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.cognee.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Was this page helpful?