{
  "opencollection": "1.0.0",
  "info": {
    "name": "Acquia Cloud API Account Invite API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Invite",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Acquia Returns Details About an Invitation.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/invites/:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "The token identifier."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://accounts.acquia.com/api/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns details about an invitation."
        },
        {
          "info": {
            "name": "Acquia Cancels an Invitation.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/invites/:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "The token identifier."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://accounts.acquia.com/api/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Cancels an invitation."
        },
        {
          "info": {
            "name": "Acquia Accepts an Invite.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/invites/:token/actions/accept",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "The token identifier."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://accounts.acquia.com/api/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Accepts an invite."
        },
        {
          "info": {
            "name": "Acquia Declines an Invite.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/invites/:token/actions/decline",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "The token identifier."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://accounts.acquia.com/api/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Declines an invite."
        },
        {
          "info": {
            "name": "Acquia Resend an Invite.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/invites/:token/actions/resend",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "The token identifier."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://accounts.acquia.com/api/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Resend an invite."
        }
      ]
    }
  ],
  "bundled": true
}