```swift import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let oauth2 = Oauth2(client) let oauth2Reject = try await oauth2.reject( grantId: "" ) ```