---
title: revoke()
framework: fskit
role: symbol
role_heading: Instance Method
path: fskit/fsresource/revoke()
---

# revoke()

Revokes the resource.

## Declaration

```swift
func revoke()
```

## Discussion

Discussion This method works by stripping away any underlying privileges associated with the resource. This effectively disconnects this object from its underlying resource.

## See Also

### Revoking the resource

- [isRevoked](fskit/fsresource/isrevoked.md)
