---
title: "Create rules in batch"
method: POST
path: "/abac/teamRules"
tags: ["abac"]
---

# Create rules in batch

`POST /abac/teamRules`

## Request body

- Abac
  - `teams` string[]
  - `actions` string[]
  - `resource` string
  - `tags` string[]

## Response `200`

ok

## Changes

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

[Change history](https://skmtc.dev/codefresh-io/apis/codefresh-api/changes/abac/teamRules/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)
