# Delete a user **DELETE /users/{userId}** By default, Klaro access is revoked after 30 days. You can optionally supply a remaining_days query parameter to modify this duration. ## Servers - Primary API server: https://api.goklaro.fr/api/public (Primary API server) ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **userId** (string) The ID of the user to delete. ### Query parameters - **remaining_days** (integer) Optional parameter to specify the remaining days. ## Responses ### 204 User deleted successfully. No Content returned. ### 401 Unauthorized – JWT is missing, malformed, or invalid. #### Body: application/json (object) - **statusCode** (integer) - **message** (string) - **error** (string) ### 429 Too Many Requests – Rate limit exceeded. #### Body: application/json (object) - **error** (string) - **retryAfter** (integer) ### 404 User not found. #### Body: application/json (object) - **statusCode** (integer) - **timestamp** (string(date-time)) - **path** (string) - **message** (string) [Powered by Bump.sh](https://bump.sh)