**Source URL:** https://limited.veevavault.dev/safety/vault-api/api-reference/19.1/expected-document-lists/update-node-order.md

# Update Node Order



Given an EDL parent node, update the order of it’s children.

<Endpoint path="/api/{version}/composites/trees/edl_hierarchy__v/{parent_node_id}/children" method="PUT"></Endpoint>

## Headers {#headers}

<FieldTable>
| Name | Description |
| --- | --- |
| `Content-Type` | `application/json` (default) or `text/csv` |
| `Accept` | `application/json` (default) or `application/xml` or `text/csv` |
</FieldTable>

## URI Path Parameters {#uri-path-parameters}

<FieldTable>
| Name | Description |
| --- | --- |
| `parent_node_id` | The ID of a parent node in the hierarchy. |
</FieldTable>

## Body Parameters {#body-parameters}

Expressed as a JSON or a CSV.

## Request {#request}

<CodeExample title="">
```
curl -X POST -H "Authorization: {SESSION_ID}" \
-H "Content-Type: application/json" \
-d '{"id": "0000000000000JLL","order__v": "2"}'
https://myvault.veevavault.com/api/v16.0/composites/trees/edl_hierarchy__v/0000000000000JIT/children

```
</CodeExample>

## Response {#response}

<CodeExample title="">
```
{
  "responseStatus": "SUCCESS"
}

```
</CodeExample>

---

**Previous:** [Retrieve a Node’s Children](/safety/vault-api/api-reference/19.1/expected-document-lists/retrieve-a-nodes-children)  
**Next:** [Security Policies](/safety/vault-api/api-reference/19.1/security-policies)