credential.delete()
Delete a credential.
Description
The delete()
method deletes the credential from storage, and
returns an Object representing the deleted document with the
id
and coll
identity fields.
Return value
Type | Description |
---|---|
Document doesn’t exist or is inaccessible. See NullDoc. |
Examples
Credential.byId("401670627820306505")!.delete()
Credential("401670627820306505") /* deleted */
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!