---
title: "POST /api/v3/accounts/{account_id}/license-maps/{id}/"
method: POST
path: "/api/v3/accounts/{account_id}/license-maps/{id}/"
tags: ["License Maps"]
---

# POST /api/v3/accounts/{account_id}/license-maps/{id}/

`POST /api/v3/accounts/{account_id}/license-maps/{id}/`

## Request

- Base URL: `https://cloud.getdbt.com`
- URL: `https://cloud.getdbt.com/api/v3/accounts/{account_id}/license-maps/{id}/`
- Auth: HTTP bearer

## Path parameters

- `account_id` integer, required
- `id` integer, required

## Request body

- LicenseMapRequest
  - `account_id` integer, required
  - `license_type` 'developer' | 'read_only' | 'analyst' | 'it', required: * `developer` - DEVELOPER * `read_only` - READ_ONLY * `analyst` - ANALYST * `it` - IT
  - `state` integer: A value of 1 means this entity is active and a value of 2 means this entity is deleted
  - `sso_license_mapping_groups` string[]

## Response `200`

- LicenseMapEnveloped
  - `data` LicenseMapResponse, required
    - `id` integer, required
    - `account_id` integer
    - `license_type` 'developer' | 'read_only' | 'analyst' | 'it': * `developer` - DEVELOPER * `read_only` - READ_ONLY * `analyst` - ANALYST * `it` - IT
    - `state` integer: A value of 1 means this entity is active and a value of 2 means this entity is deleted
    - `sso_license_mapping_groups` string[]
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `status` ResponseStatus, required
    - `code` integer: HTTP status code
    - `is_success` boolean, required: Whether the request was successful or not
    - `user_message` string, required: End-user friendly success or error message
    - `developer_message` string, required: Developer friendly success or error message

## Changes

- **2026-10-06** (v3) `7d5c1b4c8d8a`: 2 breaking
  - for the `path` request parameter `account_id`, the format changed from no format to `int64`
  - for the `path` request parameter `id`, the format changed from no format to `int64`
- **2026-07-28** (v3) `bddee3365a07`: 6 info
  - the request property `state` became optional (media type: application/json)
  - the request property `state` became optional (media type: application/x-www-form-urlencoded)
  - the request property `state` became optional (media type: multipart/form-data)
  - the `state` request property default value `1` was added (media type: application/json)
  - …2 more
- **2026-04-22** (v3) `ed46da9332ad`: 3 breaking
  - the `account_id` request property format changed from no format to `int64` (media type: application/json)
  - the `account_id` request property format changed from no format to `int64` (media type: application/x-www-form-urlencoded)
  - the `account_id` request property format changed from no format to `int64` (media type: multipart/form-data)

[Operation history](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/changes/api/v3/accounts/:account_id/license-maps/:id/post.md)

---

[API](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2.md) - [All operations](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/revisions/2448b375ac2f?raw)
