{
  "openapi": "3.1.0",
  "info": {
    "title": "security",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{OrangeLogicURL}/webapi/security",
      "variables": {
        "OrangeLogicURL": {
          "default": "OrangeLogicURL"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/bearerauthentication/setactivation_42Q_v1": {
      "get": {
        "summary": "Set activation",
        "description": "Turn on or off an account’s authentication token",
        "operationId": "set-activation",
        "parameters": [
          {
            "name": "UserEmail",
            "in": "query",
            "description": "The email address of an Orange Logic user.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Activation",
            "in": "query",
            "description": "Enter a Boolean value to represent the activation state of the user’s bearer token.<br><strong>Example</strong>: Enter <code>on</code>, <code>true</code>, <code>yes</code>, <code>y</code>, or <code>1</code> to activate a token. Enter <code>off</code>, <code>false</code>, <code>no</code>, <code>n</code>, or <code>0</code> to deactivate a token.",
            "required": true,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"success\": true,\n  \"errorMessage\": \"\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "errorMessage": {
                      "type": "string",
                      "example": ""
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "text",
              "code": "  'https://mangovations.com/webapi/security/bearerauthentication/setactivation_42Q_v1?UserEmail=kristen.harrison%40mangovations.com&Activation=on' \\\n  -H 'accept: text/plain'"
            }
          ],
          "samples-languages": [
            "text"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
