Auditmark

List assignable members

GET
/members/assignable

Inspector-accessible, org-scoped, role-filtered member list for assigning co-inspectors / approvers during self-create. Admins are listed too: they can be added as co-inspectors from the field wizard. Returns minimal fields only. RLS (memb_read_internal) confines the read to the caller's org.

Authorization

OrgApiKey
AuthorizationBearer <token>

Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.

In: header

Query Parameters

role*Role

Response Body

application/json

application/json

curl -X GET "https://api.auditmark.io/v1/members/assignable?role=inspector"
[  {    "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",    "name": "string",    "role": "string",    "updated_at": "2019-08-24T14:15:22Z"  }]
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}