{
  "opencollection": "1.0.0",
  "info": {
    "name": "Aurora Solar Agreements Users & Tenants API",
    "version": "v2024.05"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Users & Tenants",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aurorasolar.com/tenants/:tenant_id/users",
            "params": [
              {
                "name": "tenant_id",
                "value": "",
                "type": "path",
                "description": "The tenant (organization) ID that owns the resource."
              }
            ]
          },
          "docs": "Lists the users in a tenant."
        },
        {
          "info": {
            "name": "Create a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.aurorasolar.com/tenants/:tenant_id/users",
            "params": [
              {
                "name": "tenant_id",
                "value": "",
                "type": "path",
                "description": "The tenant (organization) ID that owns the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a user in a tenant."
        },
        {
          "info": {
            "name": "Retrieve a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aurorasolar.com/tenants/:tenant_id/users/:user_id",
            "params": [
              {
                "name": "tenant_id",
                "value": "",
                "type": "path",
                "description": "The tenant (organization) ID that owns the resource."
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves a single user."
        },
        {
          "info": {
            "name": "Update a user",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.aurorasolar.com/tenants/:tenant_id/users/:user_id",
            "params": [
              {
                "name": "tenant_id",
                "value": "",
                "type": "path",
                "description": "The tenant (organization) ID that owns the resource."
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a user, including activation state and role."
        },
        {
          "info": {
            "name": "Retrieve the tenant",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aurorasolar.com/tenants/:tenant_id",
            "params": [
              {
                "name": "tenant_id",
                "value": "",
                "type": "path",
                "description": "The tenant (organization) ID that owns the resource."
              }
            ]
          },
          "docs": "Retrieves the tenant record for the authenticated key."
        }
      ]
    }
  ],
  "bundled": true
}