{
  "opencollection": "1.0.0",
  "info": {
    "name": "Webex Admin Address Book Authorizations API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Authorizations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List authorizations for a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/authorizations",
            "params": [
              {
                "name": "personId",
                "value": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS9mNWIzNjE4Ny1jOGRkLTQ3MjctOGIyZi1mOWM0NDdmMjkwNDY",
                "type": "query",
                "description": "List authorizations for this user id."
              },
              {
                "name": "personEmail",
                "value": "john.anderson@example.com",
                "type": "query",
                "description": "List authorizations for this user email."
              }
            ]
          },
          "docs": "Lists all authorizations for a user. Either `personId` or `personEmail` must be provided. This API does not support pagination."
        },
        {
          "info": {
            "name": "Delete authorization of org and client ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/authorizations",
            "params": [
              {
                "name": "clientId",
                "value": "C80fb9c7096bd8474627317ee1d7a817eff372ca9c9cee3ce43c3ea3e8d1511ec",
                "type": "query",
                "description": "The unique oAuth client id."
              },
              {
                "name": "orgId",
                "value": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE",
                "type": "query",
                "description": "The ID of the organization to which this person belongs.  If no orgId is specified, use orgId from the OAuth token."
              }
            ]
          },
          "docs": "Deletes an authorization by org ID and client ID."
        },
        {
          "info": {
            "name": "Delete authorization",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/authorizations/:authorizationId",
            "params": [
              {
                "name": "authorizationId",
                "value": "Y2lzY29zcGFyazovL3VzL0FVVEhPUklaQVRJT04vZjI3MDM0ZTMtMDA5ZS00ODA4LTk5MDQtNTNkMDQ0OGJlNDVk",
                "type": "path",
                "description": "The unique identifier for the message."
              }
            ]
          },
          "docs": "Deletes an authorization by authorization ID.\n\nSpecify the authorization Id in the `authorizationId` parameter in the URI, which was listed in the list resource."
        },
        {
          "info": {
            "name": "Get expiration status for a token",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/authorizations/tokenExpiry"
          },
          "docs": "Epoch-based expiration time for the token."
        }
      ]
    }
  ],
  "bundled": true
}