Skip to main content
Service AccountGet All Service Accounts
TestMu AI
StatusCommunityBlog
Service Account

Get All Service Accounts

Get All Service Accounts

GET
/api/organization/service-accounts
Get All Service Accounts
curl --request GET \
--url "https://auth.lambdatest.com//api/organization/service-accounts" \
--header "Authorization: Basic <encoded-value>"
{
"data": [
{
"group": {
"id": 814,
"name": "g2"
},
"id": 407938,
"name": "pawan Groupupdated",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": {
"id": 814,
"name": "g2"
},
"id": 407939,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": {
"id": 814,
"name": "g2"
},
"id": 407943,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": {
"id": 814,
"name": "g2"
},
"id": 412429,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": {
"id": 809,
"name": "g6"
},
"id": 412430,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": {
"id": 815,
"name": "g5"
},
"id": 412431,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": null,
"id": 412432,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": {
"id": 814,
"name": "g2"
},
"id": 412433,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
}
]
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

application/json

Get All Service Accounts Success

dataobject[]
data.groupobject
data.idnumber
Example: 407938
data.namestring
Example: "pawan Groupupdated"
data.created_atstring
Example: "2023-02-15T13:06:55.000Z"
Get All Service Accounts
curl --request GET \
--url "https://auth.lambdatest.com//api/organization/service-accounts" \
--header "Authorization: Basic <encoded-value>"
{
"data": [
{
"group": {
"id": 814,
"name": "g2"
},
"id": 407938,
"name": "pawan Groupupdated",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": {
"id": 814,
"name": "g2"
},
"id": 407939,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": {
"id": 814,
"name": "g2"
},
"id": 407943,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": {
"id": 814,
"name": "g2"
},
"id": 412429,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": {
"id": 809,
"name": "g6"
},
"id": 412430,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": {
"id": 815,
"name": "g5"
},
"id": 412431,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": null,
"id": 412432,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
},
{
"group": {
"id": 814,
"name": "g2"
},
"id": 412433,
"name": "pawan rai",
"created_at": "2023-02-15T13:06:55.000Z"
}
]
}