role.delete()
Learn: Roles |
---|
We recommend you use FSL to create and update user-defined roles. See Role schema. |
Delete a role.
Description
This method deletes a document from the Role
system collection, and returns a
Object with the id
and coll
identity fields from the deleted role.
Return value
Type | Description |
---|---|
type:NullRole |
Document doesn’t exist or is inaccessible. See NullDoc. |
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!