await seam.acs.credentials.unassign({
user_identity_id: "417e9370-d2cc-4b23-b6d5-fbf7fdbda354",
acs_credential_id: "b1833efd-0669-4a88-81b5-2f2d5fd5c02f",
});
/*
// void
*/{
"acs_credential": {
"access_method": "code",
"acs_credential_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"acs_system_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connected_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"display_name": "<string>",
"errors": [
{
"error_code": "<string>",
"message": "<string>"
}
],
"is_managed": true,
"warnings": [
{
"error_code": "<string>",
"message": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"acs_credential_pool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"acs_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assa_abloy_vostio_metadata": {
"auto_join": true,
"door_names": [
"<string>"
],
"endpoint_id": "<string>",
"key_id": "<string>",
"key_issuing_request_id": "<string>",
"override_guest_acs_entrance_ids": [
"<string>"
]
},
"card_number": "<string>",
"code": "<string>",
"ends_at": "<string>",
"external_type": "pti_card",
"external_type_display_name": "<string>",
"is_issued": true,
"is_latest_desired_state_synced_with_provider": true,
"is_multi_phone_sync_credential": true,
"is_one_time_use": true,
"issued_at": "2023-11-07T05:31:56Z",
"latest_desired_state_synced_with_provider_at": "2023-11-07T05:31:56Z",
"parent_acs_credential_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"starts_at": "<string>",
"user_identity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"visionline_metadata": {
"card_function_type": "guest",
"auto_join": true,
"card_id": "<string>",
"common_acs_entrance_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"credential_id": "<string>",
"guest_acs_entrance_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"is_valid": true,
"joiner_acs_credential_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
},
"ok": true
}Credentials
Unassign a Credential from an ACS User
Unassigns a specified credential from a specified access system user.
POST
/
acs
/
credentials
/
unassign
await seam.acs.credentials.unassign({
user_identity_id: "417e9370-d2cc-4b23-b6d5-fbf7fdbda354",
acs_credential_id: "b1833efd-0669-4a88-81b5-2f2d5fd5c02f",
});
/*
// void
*/{
"acs_credential": {
"access_method": "code",
"acs_credential_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"acs_system_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connected_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"display_name": "<string>",
"errors": [
{
"error_code": "<string>",
"message": "<string>"
}
],
"is_managed": true,
"warnings": [
{
"error_code": "<string>",
"message": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"acs_credential_pool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"acs_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assa_abloy_vostio_metadata": {
"auto_join": true,
"door_names": [
"<string>"
],
"endpoint_id": "<string>",
"key_id": "<string>",
"key_issuing_request_id": "<string>",
"override_guest_acs_entrance_ids": [
"<string>"
]
},
"card_number": "<string>",
"code": "<string>",
"ends_at": "<string>",
"external_type": "pti_card",
"external_type_display_name": "<string>",
"is_issued": true,
"is_latest_desired_state_synced_with_provider": true,
"is_multi_phone_sync_credential": true,
"is_one_time_use": true,
"issued_at": "2023-11-07T05:31:56Z",
"latest_desired_state_synced_with_provider_at": "2023-11-07T05:31:56Z",
"parent_acs_credential_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"starts_at": "<string>",
"user_identity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"visionline_metadata": {
"card_function_type": "guest",
"auto_join": true,
"card_id": "<string>",
"common_acs_entrance_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"credential_id": "<string>",
"guest_acs_entrance_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"is_valid": true,
"joiner_acs_credential_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
},
"ok": true
}Authorizations
pat_with_workspaceconsole_session_with_workspaceapi_key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
ID of the credential that you want to unassign from an access system user.
ID of the access system user from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.
ID of the user identity from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.
Response
OK
Means by which an access control system user gains access at an entrance. The acs_credential object represents a credential that provides an ACS user access within an...
Show child attributes
Show child attributes

