get__organization_users
TypeScript Client Library
// Note: This endpoint doesn't have a direct client method in the provided TypeScript client
// You would need to use the generic makeRequest method:
// this.makeRequest<any>('organization/users', 'GET', null);Code Samples
# You can also use wget
curl -X GET https://backend.flashback.tech/organization/users \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'GET https://backend.flashback.tech/organization/users HTTP/1.1
Host: localhost:3000
Accept: application/json
Authorization: Bearer {access-token}const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('https://backend.flashback.tech/organization/users',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});{
"success": true,
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "[email protected]",
"name": "John",
"lastName": "Doe",
"orgId": "123e4567-e89b-12d3-a456-426614174000",
"orgRole": 2,
"validated": true,
"deletedAt": null,
"orgRoleDescription": "WORKSPACES",
"orgRoles": [0, 1, 2]
},
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"email": "[email protected]",
"name": "Jane",
"lastName": "Smith",
"orgId": "123e4567-e89b-12d3-a456-426614174000",
"orgRole": 0,
"validated": true,
"deletedAt": null,
"orgRoleDescription": "USER",
"orgRoles": [0]
}
],
"total": 2
}Responses
Status
Meaning
Description
Schema
Response Schema
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Parameter
Value
Description
Security
Last updated
Was this helpful?