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

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

View file

@ -19589,16 +19589,6 @@
"path": "x-pack/plugins/fleet/common/constants/routes.ts", "path": "x-pack/plugins/fleet/common/constants/routes.ts",
"deprecated": false "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", "parentPluginId": "fleet",
"id": "def-common.AGENT_API_ROUTES.UNENROLL_PATTERN", "id": "def-common.AGENT_API_ROUTES.UNENROLL_PATTERN",

View file

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