---
title: "PUT /api/rep/dashboard/status"
method: PUT
path: "/api/rep/dashboard/status"
tags: ["Rep Dashboard"]
---

# PUT /api/rep/dashboard/status

`PUT /api/rep/dashboard/status`

## Request

- Base URL: `https://idkrx.com`
- URL: `https://idkrx.com/api/rep/dashboard/status`
- Auth: API key in cookie `authjs.session-token`

Update an existing medication availability status

## Request body

- object
  - `statusId` string, required
  - `rep` boolean
  - `st` 'av' | 'un' | 'li'
  - `activeAt` string, date-time
  - `expireAt` string, date-time
  - `note` string

## Response `200`

Status updated

## Other responses

- `400`: Invalid request
- `401`: Unauthorized

---

[API](https://skmtc.dev/idkrx/apis/idkrx-api.md) · [All operations](https://skmtc.dev/idkrx/apis/idkrx-api/llms.txt) · [OpenAPI document](https://skmtc.dev/idkrx/apis/idkrx-api/revisions/086725fb5578?raw)
