Query parameters

Responses

GET /scope/admin
curl \
 --request GET 'https://sandbox.serchservice.com/api/v1/scope/admin?id=string' \
 --header "X-Serch-Signed: $API_KEY" \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-Serch-Drive-Api-Key: $API_KEY" \
 --header "X-Serch-Drive-Secret-Key: $API_KEY" \
 --header "X-Serch-Guest-Api-Key: $API_KEY" \
 --header "X-Serch-Guest-Secret-Key: $API_KEY"
Response examples (200)
{
  "status": "100 CONTINUE",
  "code": 42,
  "message": "string",
  "data": {
    "profile": {
      "avatar": "string",
      "id": "string",
      "status": "SUSPENDED",
      "role": "USER",
      "first_name": "string",
      "last_name": "string",
      "email_address": "string",
      "created_at": "2025-05-04T09:42:00Z",
      "updated_at": "2025-05-04T09:42:00Z",
      "account_created_at": "string",
      "account_updated_at": "string",
      "profile_created_at": "string",
      "profile_updated_at": "string",
      "email_confirmed_at": "string",
      "password_updated_at": "string",
      "last_signed_in": "string",
      "emp_id": "string",
      "should_resend_invite": true
    },
    "team": {
      "role": "USER",
      "position": "string",
      "department": "string",
      "cluster": [
        {
          "id": 42,
          "scope": "USER",
          "createdAt": "string",
          "updatedAt": "string",
          "permissions": [
            {
              "id": 42,
              "createdAt": "string",
              "updatedAt": "string",
              "expiration": "string",
              "permission": "WRITE"
            }
          ]
        }
      ],
      "specific": [
        {
          "account": "string",
          "name": "string",
          "scopes": [
            {
              "id": 42,
              "scope": "USER",
              "createdAt": "string",
              "updatedAt": "string",
              "permissions": [
                {
                  "id": 42,
                  "createdAt": "string",
                  "updatedAt": "string",
                  "expiration": "string",
                  "permission": "WRITE"
                }
              ]
            }
          ]
        }
      ]
    },
    "activities": [
      {
        "id": 42,
        "activity": "string",
        "associated": "string",
        "tag": "string",
        "label": "string",
        "header": "string",
        "createdAt": "2025-05-04T09:42:00Z",
        "updatedAt": "2025-05-04T09:42:00Z"
      }
    ],
    "auth": {
      "method": "string",
      "level": "string",
      "devices": [
        {
          "name": "string",
          "platform": "string",
          "count": 42,
          "revoked": true
        }
      ],
      "has_mfa": true,
      "must_have_mfa": true
    },
    "structure": {
      "id": "string",
      "name": "string",
      "position": "string",
      "image": "string",
      "role": "USER",
      "children": [
        {}
      ]
    },
    "mfa": {
      "createdAt": "2025-05-04T09:42:00Z",
      "updatedAt": "2025-05-04T09:42:00Z",
      "id": "string"
    },
    "challenges": [
      {
        "createdAt": "2025-05-04T09:42:00Z",
        "updatedAt": "2025-05-04T09:42:00Z",
        "verifiedAt": "2025-05-04T09:42:00Z",
        "name": "string",
        "platform": "string",
        "osv": "string",
        "os": "string",
        "ipAddress": "string",
        "host": "string",
        "localHost": "string",
        "device": "string",
        "id": "string"
      }
    ],
    "sessions": [
      {
        "name": "string",
        "platform": "string",
        "osv": "string",
        "os": "string",
        "method": "TOKEN",
        "level": "LEVEL_0",
        "ipAddress": "string",
        "host": "string",
        "device": "string",
        "id": "string",
        "revoked": true,
        "createdAt": "2025-05-04T09:42:00Z",
        "updatedAt": "2025-05-04T09:42:00Z",
        "refreshTokens": [
          {
            "id": "string",
            "token": "string",
            "updatedAt": "2025-05-04T09:42:00Z",
            "createdAt": "2025-05-04T09:42:00Z",
            "revoked": true
          }
        ]
      }
    ],
    "analysis": {
      "status": [
        {
          "value": 42,
          "amount": 42.0,
          "color": "string",
          "image": "string",
          "label": "string"
        }
      ],
      "years": [
        42
      ],
      "auth": [
        {
          "value": 42,
          "amount": 42.0,
          "color": "string",
          "image": "string",
          "label": "string"
        }
      ]
    }
  }
}