---
title: "Update the values in a static array."
method: PUT
path: "/api/v1/Arrays/{ArrayId}/Values"
tags: ["Arrays"]
---

# Update the values in a static array.

`PUT /api/v1/Arrays/{ArrayId}/Values`

## Request

- Base URL: `https://api.slopesoftware.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slopesoftware.com/api/v1/Arrays/{ArrayId}/Values`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/slopesoftware/apis/akur8-life-api/docs/api/v1/Arrays/:ArrayId/Values/put.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint can be used to replace all existing values in a static array.
            
All values must be unique and non-empty. Each value can be up to 200 characters.

## Path parameters

- `ArrayId` integer, required: The ID of the static array to update

## Request body

- UpdateStaticArrayValuesRequestV1
  - `values` ArrayValueItemV1[], required: The list of values to set for the static array. This will completely replace all existing values.
    - `value` string, required: The value for the array item. Maximum 200 characters.

## Response `200`

OK

- UpdateStaticArrayValuesResponseV1
  - `arrayId` integer: The ID of the updated array
  - `values` string[], nullable: The updated list of array values in order

## Other responses

- `201`: Created
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Not Allowed To Access
- `404`: Not Found
- `429`: Too Many Requests

---

[API](https://skmtc.dev/slopesoftware/apis/akur8-life-api.md) - [All operations](https://skmtc.dev/slopesoftware/apis/akur8-life-api/llms.txt) - [OpenAPI document](https://skmtc.dev/slopesoftware/apis/akur8-life-api/revisions/9771b2c79880?raw)
