Retrieve a list of pending users

GET /apim/pending_user_requests

Overview

This API retrieves the user ID or the list of user IDs pending for approval. You can check the pending users under Subscription Manager.

Prerequisites

  • Org admin (Environment admin) permissions
  • Developer portal login credentials

Request

 GET https://{controlplane_path}/api/1/rest/public /apim/pending_user_requests?{query_parameter}

Path Parameters

Key Description
controlplane_path Required. The path to the SnapLogic Control Plane: elastic.snaplogic.com
For the UAT or EMEA control plane, substitute the name for elastic. For example:
  • uat.snaplogic.com
  • emea.snaplogic.com

Query Parameters

Key Type Description
org_name string Specify the Org name to retrieve the pending user ID or list of user IDs.

Request Header

In the request header, specify Basic for authorization, add your credentials, and specify application/json for content type:


Authorization: Basic {your_encoded_security_credentials}
Content-Type: application/json
          

Request Body

None

Response

Example Response Body

{
  "Pending user requests": [
    {
      "username": "[email protected]",
      "first_name": "John",
      "last_name": "Doe",
      "request_time": "2024-02-07T20:35:26.825000+00:00",
      "org_snid": "64278be86d968c8a2b49e561",
      "_id": "65c3e98e69efcdfdc9c980ac"
    },
    {
      "username": "[email protected]",
      "first_name": "Erica",
      "last_name": "James",
      "request_time": "2024-03-15T12:45:36.123000+00:00",
      "org_snid": "64278be86d968c8a2b49e561",
      "_id": "65c3e98e69efcdfdc9c980ad"
    }
  ]
}
Key Type Description

{
  "username": "...",
  "first_name": "...",
  "last_name": "...",
  "request_time": "...",
  "org_snid": "...",
  "_id": "..."
}
string

The array of the JSON object contains:

  • username - User's email ID

  • first name - First name of the user

  • last name - Last name of user

  • request time - Time of the approval request sent

  • org sid - SnapLogic Org ID

  • id - Unique user ID