This endpoint allows you to perform actions on a specific Member of your Team.
Last updated 3 months ago
Was this helpful?
GET /api/v1/members HTTP/1.1 Host: integration.goodaccess.com Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
[ { "id": "123e1234-aaa1-123b-b1e1-e1aae1af1b12", "created_at": "2024-04-03 15:10:48", "avatar": "https://example.com", "name": "john Doe", "username": "john-doe-example@example.com", "is_user_blocked": true, "is_mfa_active": true } ]
ID of team member
GET /api/v1/member/{teamMemberId} HTTP/1.1 Host: integration.goodaccess.com Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
{ "id": "bdf69b20-5165-4dbc-82da-f4252cac5b8c", "name": "John Doe", "email": "john.doe@goodaccess.com", "avatar_url": "bunny.cdn", "is_mfa_active": true, "is_blocked": true }
DELETE /api/v1/member/{teamMemberId} HTTP/1.1 Host: integration.goodaccess.com Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
{ "message": "User with id <member-id> has been removed." }
{"name":"Example name","password":"strongPassword"}
POST /api/v1/member HTTP/1.1 Host: integration.goodaccess.com Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 51 { "name": "Example name", "password": "strongPassword" }
{ "created_id": "bdf69b20-5165-4dbc-82da-f4252cac5b8c", "message": "Member created successfully" }
{"name":"name","password":"strongPassword"}
PUT /api/v1/member/{teamMemberId} HTTP/1.1 Host: integration.goodaccess.com Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 43 { "name": "name", "password": "strongPassword" }
{ "message": "Member with id <member-id> has been modified." }