Documentation

List Sub-Accounts

Token used in the API must be as well an admin user such as when creating a sub-account.

 

URL:

 

https://secure.datapine.com/mvc/sso/organizations/{organization_id}/accounts?token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJvcmciLCJhdWQiOiIiLCJqdGkiOiI5eFNSd0huV2p5QUFvMDZfaUhseGJ3IiwiaWF0IjoxNjExODI4MzIwLCJzdWIiOiJhZG1pbkBjdXN0b21lci5jb20iLCJ1c2VyVHlwZSI6IkFETUlOIn0.rLbAzqQ_eonMr05bYfWJ25AN8dXrG1GgvRurArKJAJc

 

Method: GET
Request parameters: token
Request Response:

 

[
  {
    "ssoConfig": {
      "sharedSecret": "XXXXXXXXXXXX",
      "iframeLink": "https://datapine.com/mvc/organizations/CAFKgwvArbcpR5SutnavmQ/iframe",
      "remoteLoginUrlMap": {
        "default": "https://customer2.com/remote/login/url"
      }
    },
    "accountConfig": {
      "user": "client2@datapine.com",
      "organizationName": "client2",
      "id": "CAFKgwvArbcpR5SutnavmQ"
    }
  },
  {
    "ssoConfig": {
      "sharedSecret": "XXXXXXXXXXX",
      "iframeLink": "https://datapine.com/mvc/organizations/i3KAE4ePeBvzUtLlUceg7/iframe",
      "remoteLoginUrlMap": {
        "default": "https://customer1.com/remote/login/sso"
      }
    },
    "accountConfig": {
      "user": "client1@customer.com",
      "organizationName": "client1",
      "id": "i3KAE4ePeBvzUtLlUceg7"
    }
  }
]