---
title: "Create or delete rules"
method: POST
path: "/abac/batch"
tags: ["abac"]
---

# Create or delete rules

`POST /abac/batch`

## Request body

- object
  - `create` Abac[]
    - `teams` string[]
    - `actions` string[]
    - `resource` string
    - `tags` string[]
  - `delete` string[]

## Response `200`

ok

## Changes

> 42 revisions in range; 1 could not be searched.

- **2019-03-12** `d4cea1528f20` — 4 info
  - added the new optional request property `create/items/actions`
  - added the new optional request property `create/items/resource`
  - added the new optional request property `create/items/tags`
  - added the new optional request property `create/items/teams`
- **2019-02-14** `c718449cec44` — 4 warning
  - removed the request property `create/items/actions`
  - removed the request property `create/items/resource`
  - removed the request property `create/items/tags`
  - removed the request property `create/items/teams`

[Change history](https://skmtc.dev/codefresh-io/apis/codefresh-api/changes/abac/batch/post.md)

---

[API](https://skmtc.dev/codefresh-io/apis/codefresh-api.md) · [All operations](https://skmtc.dev/codefresh-io/apis/codefresh-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/codefresh-io/codefresh-api/revisions/fa310e908c46/schema)
