jayesh_95977
02/22/2024, 7:45 AMvroldanbet
02/22/2024, 10:04 AMjayesh_95977
02/29/2024, 6:05 AMjayesh_95977
02/29/2024, 6:05 AMjayesh_95977
02/29/2024, 6:06 AMvroldanbet
02/29/2024, 8:03 AMWriteSchema
if it causes a relation with data to be dropped, as a precaution. There is no API to force delete the schema in this case, you have to drop the data first. You can use zed
command line to do this easily by specifying the resource and relation:
~ % zed relationship delete --help
Deletes a relationship
Usage:
zed relationship delete <resource:id> <relation> <subject:id#optional_subject_relation> [flags]
Flags:
-b, --batch-size int batch size when deleting streams of relationships from stdin (default 100)
-h, --help help for delete
--json output as JSON
Global Flags:
--certificate-path string path to certificate authority used to verify secure connections
--endpoint string spicedb gRPC API endpoint
--insecure connect over a plaintext connection
--log-format string format of logs ("auto", "console", "json") (default "auto")
--log-level string verbosity of logging ("trace", "debug", "info", "warn", "error") (default "info")
--no-verify-ca do not attempt to verify the server's certificate chain and host name
--permissions-system string permissions system to query
--skip-version-check if true, no version check is performed against the server
--token string token used to authenticate to SpiceDB
jayesh_95977
02/29/2024, 5:31 PMjayesh_95977
02/29/2024, 5:32 PMvroldanbet
03/01/2024, 8:49 AMjayesh_95977
03/02/2024, 6:33 PM