{
  "opencollection": "1.0.0",
  "info": {
    "name": "Astro Platform AgentToken Invite API",
    "version": "v1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Invite",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a user invitation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.astronomer.io/v1/organizations/:organizationId/invites",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "The ID of the Organization to invite the user to."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Invite a user to an Organization."
        },
        {
          "info": {
            "name": "Delete a user invite",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.astronomer.io/v1/organizations/:organizationId/invites/:inviteId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "The ID of the Organization where the user was invited to."
              },
              {
                "name": "inviteId",
                "value": "",
                "type": "path",
                "description": "The invite's ID."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete an existing user invite."
        }
      ]
    }
  ],
  "bundled": true
}