Define relations between your Access Cards and Systems/Members.
Last updated 3 months ago
OK
const response = await fetch('https://integration.goodaccess.com/api/v1/relation/access-card/<access_card_id>/system/<system_id>', { method: 'DELETE', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
const response = await fetch('https://integration.goodaccess.com/api/v1/relation/access-card/<access-card-id>/member/<member-id>', { method: 'DELETE', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
const response = await fetch('https://integration.goodaccess.com/api/v1/relation/access-card/<access_card_id>/system/<system_id>', { method: 'POST', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
text
const response = await fetch('https://integration.goodaccess.com/api/v1/relation/access-card/<access_card_id>/member/<member_id>', { method: 'POST', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();