---
title: "Adding reset node job"
method: POST
path: "/api/edgenodes/{edgeNodeId}/reset"
tags: ["EdgeNodes"]
---

# Adding reset node job

`POST /api/edgenodes/{edgeNodeId}/reset`

Creates a reset job for the node with the specified id. The node will when the job is performed undeploy all flows, remove all data and restart.

## Path parameters

- `edgeNodeId` string, uuid, required

## Response `200`

OK

- EdgeNodeActivityDto — Represents a top level activity with a set of jobs for an node to perform.
  - `id` string, uuid — The identifier of the node activity.
  - `organizationId` string, uuid — The identifier of the organization.
  - `startTime` string, date-time — The time the activity was started.
  - `lastSaved` string, date-time — The time the activity was last saved.
  - `description` string, nullable — The description of the activity.
  - `nrOfPendingJobs` integer — The number of pending jobs in the activity.
  - `nrOfFailureJobs` integer — The number of failed jobs in the activity.
  - `nrOfSuccessJobs` integer — The number of successful jobs in the activity.
  - `activityType` string, nullable — The type of the activity. Available values are `Unknown`, `RemoteDebugging`, `AddFlow`, `RemoveFlow`, `Reset`, `Sync`, `StartFlow`, `StopFlow`.
  - `edgeNodeJobs` EdgeNodeJobDto[], nullable — The jobs in the activity.
    - `edgenodeid` string, uuid — The identifier of the node.
    - `organizationId` string, uuid — The identifier of the organization.
    - `activityId` string, uuid — The identifier of the activity the job belongs to.
    - `index` integer — The index of the job.
    - `flowId` string, uuid, nullable — Optional. The identifier of the flow if there is a flow connected to the job.
    - `flowDefinitionId` string, uuid, nullable — Optional. The identifier of the flow definition if there is a flow definition connected to the job.
    - `sessionId` string, uuid, nullable — Optional. The identifier of the session the job belongs to if there is a session connected to the job.
    - `type` string, nullable — The type of the job. Available values are `flow-start`, `flow-stop`, `flow-delete`, `flow-update`, `flow-create`, `remote-session` and `reset-edgenode`.
    - `jobState` string, nullable — The state of the job. Available values are `Pending`, `Success` and `Failure`.
    - `timestamp` string, date-time — The time the job was created.
    - `message` string, nullable — The message of the job reported by the node.
  - `status` 1 | 2 | 3 | 4 | 5
  - `edgeNodeIds` string[], nullable

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `503` — Service Unavailable

---

[API](https://skmtc.net/crosser/apis/edge-director-api.md) · [All operations](https://skmtc.net/crosser/apis/edge-director-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crosser/edge-director-api/versions/746b3f44e69d/schema)
