Hey!
When Im trying to deactivate an user through api or just modify allowedUntilDate I constantly run into an error that this method is not allowed. Is there any other way to somehow deactivate a key code or set the end date back or anything through API call? I do not want to delete it just deactivate. (deactivation also run into the same problem)
How are you attempting to make these changes via the API? Are you using the smartlock/auth endpoint? You can see more information on that endpoint in our API documentation.
Thank you for your response and the clarification!
I’ve been attempting to use the PUT /smartlock/{smartlockId}/auth/{id} endpoint to update the allowedUntilDate field for an authorization code. Here’s the process I followed:
1. I retrieved the list of authorizations using the /smartlock/{smartlockId}/auth endpoint.
2. For specific users, I attempted to call the PUT /smartlock/{smartlockId}/auth/{id} endpoint to update their allowedUntilDate to the current date using the following payload: