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

# Edit Meta Rule

`PUT /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

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

## Request body

- PutV1OrganisationOuidMetarulesRequest
  - `name` string, required: The name of the updated MetaRule

## Response `200`

The metaRule to be returned

- PutV1OrganisationOuidMetarulesResponse
  - `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)
