---
title: "Create Meta Rule"
method: POST
path: "/v1/organisation/{ouid}/metarules"
tags: ["organisation v1"]
---

# Create Meta Rule

`POST /v1/organisation/{ouid}/metarules`

## Request

- Base URL: `https://docs.dev.causeway.com/api`
- URL: `https://docs.dev.causeway.com/api/v1/organisation/{ouid}/metarules`
- Auth: one of:
  - API key in header `x-access-token`
  - API key in header `x-access-key`
  - HTTP bearer

Creates a new MetaRule object in given Organisation. Required Permissions: Organisational Administrator

## Request body

- PostV1OrganisationOuidMetarulesRequest
  - `name` string, required: The name of the new MetaRule

## Response `200`

The metaRule to be returned

- PostV1OrganisationOuidMetarulesResponse
  - `name` string
  - `createdBy` string
  - `createdAt` unknown
  - `modifiedAt` unknown
  - `ruleParts` object
    - `format` string
    - `length` object
      - `min` number
      - `max` number
    - `character` string
  - `ouId` string
  - `deleted` boolean

---

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