---
title: "POST /bulk"
method: POST
path: "/bulk"
tags: ["Centralized Authorization Data"]
deprecated: true
---

# POST /bulk

`POST /bulk`

> **Deprecated.**

Deletes and adds many facts in one atomic transaction. The deletions are performed before the adds. `null` can be used as a wildcard in facts in delete. Does not throw an error when the facts to delete are not found.

DEPRECATED: Prefer `POST /batch` with payload `[{"deletes": <bulk.delete>}, {"inserts": <bulk.tell>}]`.

## Request body

- Bulk
  - `delete` Fact[], required
    - `predicate` string, required
    - `args` Value[], required
      - `type` string, nullable
      - `id` string, nullable
  - `tell` Fact[], required
    - `predicate` string, required
    - `args` Value[], required
      - `type` string, nullable
      - `id` string, nullable

## Response `200`

- ApiResult
  - `message` string, required

## Other responses

- `default`

---

[API](https://skmtc.net/osohq/apis/oso-cloud-http-api.md) · [All operations](https://skmtc.net/osohq/apis/oso-cloud-http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/osohq/oso-cloud-http-api/versions/edaea3b218bd/schema)
