---
title: "DELETE /accounts/redis-key/"
method: DELETE
path: "/accounts/redis-key/"
tags: ["accounts"]
---

# DELETE /accounts/redis-key/

`DELETE /accounts/redis-key/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/accounts/redis-key/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- RedisKeyRequest
  - `access_token_id` string, required
  - `key` string, required
  - `value` object
  - `expiry` integer

## Response `200`

OK

- AccountsRedisDeleteResponse
  - `status` boolean, required
  - `result` AccountsRedisDeleteResult, required
    - `message` string, required
    - `key` string, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
