Delete an Unmanaged Access Code
Delete an Unmanaged Access Code
DELETE
https://connect.getseam.com/access_codes/unmanaged/delete
Query Parameters
Name
Type
Description
access_code_id*
String
{
"action_attempt": {
"status": "pending",
"action_type": "DELETE_ACCESS_CODE",
"action_attempt_id": "6a5e05e3-fd92-4211-aecb-ac53f1382ea1",
"result": null,
"error": null
},
"ok": true
}
Code Example
await seam.accessCodes.unmanaged.delete({
access_code_id: "a9f662a7-44fb-4b91-b7a8-22c0f996bfc1",
});
Parameters
access_code_id
type: string
ID of the Access Code
Response
This section shows the JSON response returned by the API. Since each language encapsulates this response inside objects specific to that language and/or implementation, the actual type in your language might differ from what’s written here.
JSON format
{
"action_attempt": {
"status": "pending",
"action_type": "DELETE_ACCESS_CODE",
"action_attempt_id": "6a5e05e3-fd92-4211-aecb-ac53f1382ea1",
"result": null,
"error": null
},
"ok": true
}
Last updated
Was this helpful?