This endpoint allows you to perform actions on a specific Member of your Team.
Last updated 4 months ago
OK
const response = await fetch('https://integration.goodaccess.com/api/v1/member/<team_member_id>', { method: 'DELETE', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
const response = await fetch('https://integration.goodaccess.com/api/v1/members', { method: 'GET', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
const response = await fetch('https://integration.goodaccess.com/api/v1/member', { method: 'POST', headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" }, body: JSON.stringify({ "name": "Example name", "password": "strongPassword" }), }); const data = await response.json();
const response = await fetch('https://integration.goodaccess.com/api/v1/member/<member-id>', { method: 'GET', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
const response = await fetch('https://integration.goodaccess.com/api/v1/member/<team_member_id>', { method: 'PUT', headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" }, body: JSON.stringify({ "name": "name", "password": "strongPassword" }), }); const data = await response.json();