Remove passkey

DELETE
/api/users/[user_id]/passkeys/[passkey_id]
Removes the specified passkey from the user's account, thereby revoking the ability to authenticate using that passkey.

Path Parameters

user_id
string
Required

The ID of the user from whose account the passkey should be removed.

passkey_id
string
Required

The ID of the passkey to remove.

Authentication

X-API-KEY
header
Required

The API key is essential for accessing MonoCloud's APIs. You can find it in the Tenant Settings section of your MonoCloud dashboard. To authenticate your requests, include this key in the request header using the following format: X-API-Key: <Your_API_Key>.

Headers

accept
string
  • application/problem+json

Responses

204
Successfully removed a passkey from the user's account
400
Bad Request
422
Client Error
404
Not Found
401
Unauthorized
403
Forbidden

Request Example

Request
curl -X DELETE "https://<your-domain>/api/users/{user_id}/passkeys/{passkey_id}" \
 -H "X-API-KEY: <your-api-key>"

Response Example

Response
204 No Content
No Content