Delete a pin keypad error

Hi try to delete a pin from keypad with
curl -X DELETE --header ‘Accept: application/json’ --header ‘Authorization: Bearer token’
https://api.nuki.io/smartlock/715905149/auth/61f05be9fc210f578c1e1b4c

and get Status:204 (No Content) and not delete

The key return from list with this:
{
“id”: “61f05be9fc210f578c1e1b4c”,
“smartlockId”: 715905149,
“authId”: 11,
“code”: 111111,
“type”: 13,
“name”: “VivaEu”,
“enabled”: true,
“remoteAllowed”: false,
“lockCount”: 0,
“allowedFromDate”: “2022-01-25T19:00:00.000Z”,
“allowedUntilDate”: “2022-01-25T20:30:00.000Z”,
“allowedWeekDays”: 0,
“allowedFromTime”: 0,
“allowedUntilTime”: 0,
“creationDate”: “2022-01-25T20:22:06.000Z”,
“updateDate”: “2022-01-25T20:22:06.644Z”
}

Did you try to do a

POST /smartlock/{smartlockId}/sync

to check if the cached values shown are still correct?

wbr,
Stephan

Got error when try to use that command.
curl -X POST --header ‘Content-Type: application/json’ --header ‘Accept: application/json’ ‘https://api.nuki.io/smartlock/715905149/sync

Get
{
“detailMessage”: “Your access token is not authorized”,
“stackTrace”: [],
“suppressedExceptions”: []
}