{
  "opencollection": "1.0.0",
  "info": {
    "name": "Sumo Logic accessKeyManagement serviceAccountManagement API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "serviceAccountManagement",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get A List Of Service Accounts.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.au.sumologic.com/api/v1/serviceAccounts"
          },
          "docs": "Get a list of all service accounts in the organization."
        },
        {
          "info": {
            "name": "Create A New Service Account.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.au.sumologic.com/api/v1/serviceAccounts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new service account in the organization."
        },
        {
          "info": {
            "name": "Get A Service Account.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.au.sumologic.com/api/v1/serviceAccounts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifier of service account to return."
              }
            ]
          },
          "docs": "Get a service account with the given identifier from the organization."
        },
        {
          "info": {
            "name": "Update A Service Account.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.au.sumologic.com/api/v1/serviceAccounts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifier of the service account to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing service account in the organization."
        },
        {
          "info": {
            "name": "Delete A Service Account.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.au.sumologic.com/api/v1/serviceAccounts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifier of the service account to delete."
              },
              {
                "name": "transferTo",
                "value": "",
                "type": "query",
                "description": "Identifier of a user/service account to receive the transfer of content from the deleted service account. <br> **Note:** If `deleteContent` is not set to `true`, and no user identifier is specified in `transferTo`, content from the deleted service account is transferred to the executing user."
              },
              {
                "name": "deleteContent",
                "value": "",
                "type": "query",
                "description": "Whether to delete content from the deleted service account or not. <br> **Warning:** If `deleteContent` is set to `true`, all of the content for the service account being  deleted is permanently deleted and cannot be recovered."
              }
            ]
          },
          "docs": "Delete a service account with the given identifier from the organization and transfer its content to a user or  a service account with the identifier specified in \"transferTo\"."
        },
        {
          "info": {
            "name": "List Access Keys For A Service Account.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.au.sumologic.com/api/v1/serviceAccounts/:serviceAccountId/accessKeys",
            "params": [
              {
                "name": "serviceAccountId",
                "value": "",
                "type": "path",
                "description": "Identifier of the service account."
              }
            ]
          },
          "docs": "List all access keys of a service account."
        },
        {
          "info": {
            "name": "Create A New Access Key For A Service Account.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.au.sumologic.com/api/v1/serviceAccounts/:serviceAccountId/accessKeys",
            "params": [
              {
                "name": "serviceAccountId",
                "value": "",
                "type": "path",
                "description": "Identifier of the service account."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new access ID and key pair for a service account."
        },
        {
          "info": {
            "name": "Get An Access Key Of A Service Account.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.au.sumologic.com/api/v1/serviceAccounts/:serviceAccountId/accessKeys/:accessId",
            "params": [
              {
                "name": "serviceAccountId",
                "value": "",
                "type": "path",
                "description": "Identifier of the service account."
              },
              {
                "name": "accessId",
                "value": "",
                "type": "path",
                "description": "Identifier of an access key to return."
              }
            ]
          },
          "docs": "Get an access key with the given identifier from the organization of a service account."
        },
        {
          "info": {
            "name": "Update An Access Key Of A Service Account.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.au.sumologic.com/api/v1/serviceAccounts/:serviceAccountId/accessKeys/:accessId",
            "params": [
              {
                "name": "serviceAccountId",
                "value": "",
                "type": "path",
                "description": "Identifier of the service account."
              },
              {
                "name": "accessId",
                "value": "",
                "type": "path",
                "description": "The id of an access key to update of a service account."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the properties of existing accessKey by Id of a service account."
        },
        {
          "info": {
            "name": "Delete An Access Key Of A Service Account.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.au.sumologic.com/api/v1/serviceAccounts/:serviceAccountId/accessKeys/:accessId",
            "params": [
              {
                "name": "serviceAccountId",
                "value": "",
                "type": "path",
                "description": "Identifier of the service account."
              },
              {
                "name": "accessId",
                "value": "",
                "type": "path",
                "description": "The Id of the access key to delete of a service account."
              }
            ]
          },
          "docs": "Deletes the access key with the given Id of a service account."
        }
      ]
    }
  ],
  "bundled": true
}