await seam.accessCodes.delete({
device_id: "d33f4cc7-2b6a-41a4-ad30-c372ee493589",
access_code_id: "275b40a3-6b0b-4c51-8fd2-aafd3de2195c",
});
/*
// void
*/{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "DELETE_ACCESS_CODE",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
},
"ok": true
}Access Codes
Delete an Access Code
Deletes an access code.
POST
/
access_codes
/
delete
await seam.accessCodes.delete({
device_id: "d33f4cc7-2b6a-41a4-ad30-c372ee493589",
access_code_id: "275b40a3-6b0b-4c51-8fd2-aafd3de2195c",
});
/*
// void
*/{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "DELETE_ACCESS_CODE",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
},
"ok": true
}Authorizations
client_sessionclient_session_with_customerpat_with_workspaceconsole_session_with_workspaceapi_key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json

