Knowledge Base

Change a grant's role

Changes an existing grant's role to viewer or editor. You cannot modify your own grant.

patch/org/kb/nodes/{id}/permissions/{permissionId}

Request

  • Base URL
    https://apiv2.senso.ai/api/v1
  • Auth
    API key in header X-API-Key

Path parameters

idstring uuid required

The node's kb_node_id.

permissionIdstring uuid required

The grant's id.

Request body

role'viewer' | 'editor' required

The new role. Only viewer and editor can be assigned.

Response

The grant's role was changed.

messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.