{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fast ACCOUNT_COSTS SUPERTOKENS API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "SUPERTOKENS",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Tenants",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/supertokens/",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all tenants in SuperTokens\n:return: List of tenants"
        },
        {
          "info": {
            "name": "Create Supertokens Tenant",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/supertokens/create-tenant",
            "params": [
              {
                "name": "new_tenant",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new tenant in SuperTokens\n:return: ok status and optional message."
        },
        {
          "info": {
            "name": "Update Tenant Thirdparty",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/supertokens/update-tenant-thirdparty",
            "params": [
              {
                "name": "new_tenant",
                "value": "",
                "type": "query"
              },
              {
                "name": "client_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "client_secret",
                "value": "",
                "type": "query"
              },
              {
                "name": "oidc_discovery_endpoint",
                "value": "",
                "type": "query"
              },
              {
                "name": "third_party_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the tenant with the third party config\n:return: ok status and optional message."
        },
        {
          "info": {
            "name": "Update Tenant Thirdparty Custom",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/supertokens/update-tenant-thirdparty-custom",
            "params": [
              {
                "name": "new_tenant",
                "value": "",
                "type": "query"
              },
              {
                "name": "client_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "client_secret",
                "value": "",
                "type": "query"
              },
              {
                "name": "oidc_discovery_endpoint",
                "value": "",
                "type": "query"
              },
              {
                "name": "third_party_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the tenant with the custom third party config\n:return: ok status and optional message."
        },
        {
          "info": {
            "name": "Update Tenant Saml",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/supertokens/update-tenant-saml",
            "params": [
              {
                "name": "new_tenant",
                "value": "",
                "type": "query"
              },
              {
                "name": "client_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "client_secret",
                "value": "",
                "type": "query"
              },
              {
                "name": "provider_name",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the tenant with the SAML config\n:return: ok status and optional message."
        },
        {
          "info": {
            "name": "Delete Tenant Thirdparty",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.myaltimate.com/supertokens/delete-tenant-thirdparty",
            "params": [
              {
                "name": "new_tenant",
                "value": "",
                "type": "query"
              },
              {
                "name": "third_party_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the tenant's third party config\n:return: ok status and optional message."
        },
        {
          "info": {
            "name": "Configure Sso",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/supertokens/configure/:provider",
            "params": [
              {
                "name": "provider",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Configures SSO by creating a tenant if needed and updating third-party config\n:return: ok status and optional message."
        }
      ]
    }
  ],
  "bundled": true
}