organisation v1

Create Meta Rule

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

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
    • API key in header x-access-token
    • or API key in header x-access-key
    • or HTTP bearer

Path parameters

The Organisation id where the new rule will be created

Request body

namestring required

The name of the new MetaRule

Response

The metaRule to be returned

namestring
createdBystring
createdAtunknown
modifiedAtunknown
ouIdstring
deletedboolean

Example response

{
  "name": "Drawing Number",
  "createdBy": "60f937c20e464a4f1cc8a328",
  "createdAt": "2024-01-01T00:00:00+0000",
  "modifiedAt": "2024-01-01T00:00:00+0000",
  "ruleParts": [
    {
      "format": "Uppercase",
      "length": {
        "min": 1,
        "max": 4
      },
      "character": ""
    }
  ],
  "ouId": "60f937c20e464a4f1cc8a356",
  "deleted": "false"
}

Changes

No recorded changes to this operation across all 1 revision of this API.