# Reorder a page's row actions

Sets the left-to-right order of a page's action-bar buttons. `order` must list EVERY action id on the page, and a partial list is refused with 'order must list every action id' rather than half-applied. Answers 204. Workspace admin.

Access class: `def:admin`.

## Endpoint

`PUT /v1/definitions/{key}/actions/order`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "order": [
      "string"
    ]
  },
  "params": {
    ":key": "string"
  },
  "query": {}
}
```

## Responses

### 200

the action's answer

Content type: `application/json`.

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
