---
title: "POST /cloudhsm/licenses"
method: POST
path: "/cloudhsm/licenses"
tags: ["cloudhsm"]
---

# POST /cloudhsm/licenses

`POST /cloudhsm/licenses`

## Request

- Base URL: `https://secure.sakura.ad.jp/cloud/zone/is1a/api/cloud/1.1`
- URL: `https://secure.sakura.ad.jp/cloud/zone/is1a/api/cloud/1.1/cloudhsm/licenses`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/sakura/apis/kms-secretmanager-cloudhsm-api/docs/cloudhsm/licenses/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- WrappedCreateCloudHSMSoftwareLicenseRequest
  - `License` CreateCloudHSMSoftwareLicenseRequest, required
    - `ServiceClass` 'cloud/cloudhsm/license/l7', required: * `cloud/cloudhsm/license/l7` - Type-L7
    - `Name` string, required
    - `Description` string
    - `Tags` string[], nullable

## Response `201`

- WrappedCreateCloudHSMSoftwareLicense
  - `License` CreateCloudHSMSoftwareLicense, required
    - `ID` string
    - `CreatedAt` string, iso8601
    - `ModifiedAt` string, iso8601
    - `ServiceClass` 'cloud/cloudhsm/license/l7', required: * `cloud/cloudhsm/license/l7` - Type-L7
    - `Name` string, required
    - `Description` string
    - `Tags` string[], nullable
  - `is_ok` boolean, required

---

[API](https://skmtc.dev/sakura/apis/kms-secretmanager-cloudhsm-api.md) - [All operations](https://skmtc.dev/sakura/apis/kms-secretmanager-cloudhsm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sakura/apis/kms-secretmanager-cloudhsm-api/revisions/9a535fabbdfa?raw)
