{
  "opencollection": "1.0.0",
  "info": {
    "name": "Unleash Admin Addons Service Accounts API",
    "version": "7.4.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Service Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Service Accounts.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.unleash-instance.example.com/api/admin/service-account"
          },
          "docs": "**Enterprise feature**\n\nReturns the list of all service accounts."
        },
        {
          "info": {
            "name": "Create a Service Account.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.unleash-instance.example.com/api/admin/service-account",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**Enterprise feature**\n\nCreates a new service account."
        },
        {
          "info": {
            "name": "Update a Service Account.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.unleash-instance.example.com/api/admin/service-account/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**Enterprise feature**\n\nUpdates an existing service account identified by its id."
        },
        {
          "info": {
            "name": "Delete a Service Account.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.unleash-instance.example.com/api/admin/service-account/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "**Enterprise feature**\n\nDeletes an existing service account identified by its id."
        },
        {
          "info": {
            "name": "List All Tokens for a Service Account.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.unleash-instance.example.com/api/admin/service-account/:id/token",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "**Enterprise feature**\n\nReturns the list of all tokens for a service account identified by the id."
        },
        {
          "info": {
            "name": "Create a Token for a Service Account.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.unleash-instance.example.com/api/admin/service-account/:id/token",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**Enterprise feature**\n\nCreates a new token for the service account identified by the id."
        },
        {
          "info": {
            "name": "Delete a Token for a Service Account.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.unleash-instance.example.com/api/admin/service-account/:id/token/:tokenId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "tokenId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "**Enterprise feature**\n\nDeletes a token for the service account identified both by the service account's id and the token's id."
        }
      ]
    }
  ],
  "bundled": true
}