Deleting Access Codes
Learn how to delete your access codes, and ensure that the code is successfully removed from the device.
1. Delete the access code using the API
seam.access_codes.delete(
access_code_id="11111111-1111-1111-1111-555555555555"
)Nonecurl -X 'POST' \
'https://connect.getseam.com/access_codes/delete' \
-H 'accept: application/json' \
-H "Authorization: Bearer ${SEAM_API_KEY}" \
-H 'Content-Type: application/json' \
-d '{
"access_code_id": "11111111-1111-1111-1111-555555555555"
}'{
"ok": true
}await seam.accessCodes.delete({
access_code_id: "11111111-1111-1111-1111-555555555555"
});void2. Verify that the access code has been removed
Last updated
Was this helpful?

