remove unused enrollment path (#117063) (#117200)

Co-authored-by: Bryan Clement <bclement01@gmail.com>
This commit is contained in:
Kibana Machine 2021-11-02 16:04:27 -04:00 committed by GitHub
parent 1324aa4ad8
commit 115b0b730b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 12 deletions

View file

@ -19528,16 +19528,6 @@
"path": "x-pack/plugins/fleet/common/constants/routes.ts",
"deprecated": false
},
{
"parentPluginId": "fleet",
"id": "def-common.AGENT_API_ROUTES.ENROLL_PATTERN",
"type": "string",
"tags": [],
"label": "ENROLL_PATTERN",
"description": [],
"path": "x-pack/plugins/fleet/common/constants/routes.ts",
"deprecated": false
},
{
"parentPluginId": "fleet",
"id": "def-common.AGENT_API_ROUTES.UNENROLL_PATTERN",
@ -21721,4 +21711,4 @@
}
]
}
}
}

View file

@ -89,7 +89,6 @@ export const AGENT_API_ROUTES = {
CHECKIN_PATTERN: `${API_ROOT}/agents/{agentId}/checkin`,
ACKS_PATTERN: `${API_ROOT}/agents/{agentId}/acks`,
ACTIONS_PATTERN: `${API_ROOT}/agents/{agentId}/actions`,
ENROLL_PATTERN: `${API_ROOT}/agents/enroll`,
UNENROLL_PATTERN: `${API_ROOT}/agents/{agentId}/unenroll`,
BULK_UNENROLL_PATTERN: `${API_ROOT}/agents/bulk_unenroll`,
REASSIGN_PATTERN: `${API_ROOT}/agents/{agentId}/reassign`,