{
  "opencollection": "1.0.0",
  "info": {
    "name": "Veracode Applications REST API Credentials Users API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.veracode.com/api/authn/v2/users",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "size",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns all users in the organization. Paginated, max 20 per page."
        },
        {
          "info": {
            "name": "Create User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.veracode.com/api/authn/v2/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new user or API service account in the organization."
        },
        {
          "info": {
            "name": "Search Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.veracode.com/api/authn/v2/users/search",
            "params": [
              {
                "name": "search_term",
                "value": "",
                "type": "query"
              },
              {
                "name": "api_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "role_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "user_type",
                "value": "",
                "type": "query"
              },
              {
                "name": "saml_user",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search users by term, API ID, role, type, or SAML status."
        },
        {
          "info": {
            "name": "Get Current User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.veracode.com/api/authn/v2/users/self"
          },
          "docs": "Returns the current authenticated user's principal details."
        },
        {
          "info": {
            "name": "Update User",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.veracode.com/api/authn/v2/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "User unique identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing user account."
        },
        {
          "info": {
            "name": "Delete User",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.veracode.com/api/authn/v2/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "User unique identifier"
              }
            ]
          },
          "docs": "Deletes a user account from the organization."
        }
      ]
    }
  ],
  "bundled": true
}