---
title: "Reorder Answerrules for my User"
method: PUT
path: "/domains/{domain}/users/{user}/answerrules/reorder"
tags: ["Answer Rules"]
---

# Reorder Answerrules for my User

`PUT /domains/{domain}/users/{user}/answerrules/reorder`

To reorder the answerrules, give an array of time frames used in the user's current answerrules in the order desired. Please be sure to include all time frames and no extraneous ones. Be sure to include "Default" when necessary which is named "*".

## Path parameters

- `domain` string, required — This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.
- `user` string, required — This is the main user extension for the user account. ~ can be used to mean "my account" which will extract the user from the token/key used for authentication.

## Request body

- object[]
  - `time-frame` string, required — Contains the name of the Time Frame to be reordered. "Default" time frame is named "*"

## Response `202`

- object
  - `code` integer, required
  - `message` string, required

## Other responses

- `400`
- `401`
- `404`

---

[API](https://skmtc.net/ns-api/apis/netsapiens-api-v2.md) · [All operations](https://skmtc.net/ns-api/apis/netsapiens-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ns-api/netsapiens-api-v2/revisions/d37f65b5b886/schema)
