---
title: "Execute a MAQL DDL script"
method: POST
path: "/gdc/md/{project_id}/ldm/manage2"
tags: ["project-model"]
---

# Execute a MAQL DDL script

`POST /gdc/md/{project_id}/ldm/manage2`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/md/{project_id}/ldm/manage2`
- Auth: none declared

This method executes a MAQL DDL script that updates a project model, and returns the link to a polling resource that returns the status of the script execution task.

For more details about creating data models, see [this article](https://help.gooddata.com/display/doc/Creating+Analytical+Project+with+MAQL+DDL).

## Path parameters

- `project_id` string, required

## Request body

- Manage
  - `manage` object, required
    - `maql` string, required

## Response `200`

_

- Entries
  - `entries` Link[], required
    - `link` string, uri, required
    - `locked` union: Legacy boolean allowing boolean values represented by booleans or numbers
      - '0' | '1'
      - 0 | 1
      - boolean
    - `author` string, uri: URI of the user's profile
    - `created` string: Date and time string in the format `YYYY-MM-DD hh:mm:ss`
    - `deprecated` union: Legacy boolean allowing boolean values represented by booleans or numbers
      - '0' | '1'
      - 0 | 1
      - boolean
    - `summary` string
    - `category` string
    - `tags` Tags
      - `tag` Tag1[]
        - `title` string, required
        - `frequency` string, stringint, required
        - `recency` string, required
        - `category` Tag
          - `title` string, required
          - `frequency` string, stringint, required
          - `recency` string, required
          - `category` Tag (recursive)
    - `title` string
    - `unlisted` union: Legacy boolean allowing boolean values represented by booleans or numbers
      - '0' | '1'
      - 0 | 1
      - boolean
    - `isProduction` union
      - '0' | '1': is the object production or no
      - 0 | 1: is the object production or no
      - boolean: is the object production or no
    - `sharedWithSomeone` union
      - '0' | '1': is the linked object shared with someone via ACLs?
      - 0 | 1: is the linked object shared with someone via ACLs?
      - boolean: is the linked object shared with someone via ACLs?
    - `updated` string: Date and time string in the format `YYYY-MM-DD hh:mm:ss`
    - `contributor` string, uri: URI of the user's profile
    - `projectTemplate` string, uri
    - `help` string, uri
    - `identifier` string: Global identifier of a metadata object

---

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