{
  "opencollection": "1.0.0",
  "info": {
    "name": "Sonatype Lifecycle Public REST Advanced Search Users API",
    "version": "1.201.0-02"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "getAll_2",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/users",
            "params": [
              {
                "name": "realm",
                "value": "",
                "type": "query",
                "description": "Enter the `realm`. Allowed values are `Internal`,`OAUTH2`, and `SAML`."
              }
            ]
          },
          "docs": "Use this method to retrieve user details for all users.\n\nPermissions required: Edit System Configuration and Users"
        },
        {
          "info": {
            "name": "add",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use this method to create a new user.\n\nPermissions required: Edit System Configuration and Users"
        },
        {
          "info": {
            "name": "get_1",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/users/:username",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "Enter the username."
              },
              {
                "name": "realm",
                "value": "",
                "type": "query",
                "description": "Enter the `realm`. Allowed values are `Internal`,`OAUTH2`, and `SAML`."
              }
            ]
          },
          "docs": "Use this method to retrieve user details for the specified user.\n\nPermissions required: Edit System Configuration and Users"
        },
        {
          "info": {
            "name": "update",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v2/users/:username",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "Enter the username."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use this method to update user details for an existing internal user, by specifying the username.\n\nPermissions required: Edit System Configuration and Users"
        },
        {
          "info": {
            "name": "delete_1",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/v2/users/:username",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "Enter the username to be deleted."
              },
              {
                "name": "realm",
                "value": "",
                "type": "query",
                "description": "Enter the `realm`. Allowed values are `Internal`,`OAUTH2`, and `SAML`."
              }
            ]
          },
          "docs": "Use this method to delete an existing user.\n\nPermissions required: Edit System Configuration and Users"
        }
      ]
    }
  ],
  "bundled": true
}