---
title: "POST /enterprise/license/"
method: POST
path: "/enterprise/license/"
tags: ["enterprise"]
---

# POST /enterprise/license/

`POST /enterprise/license/`

License Viewset

## Request body

- LicenseRequest — License Serializer
  - `key` string, required

## Response `201`

- License — License Serializer
  - `license_uuid` string, uuid, required
  - `name` string, required
  - `key` string, required
  - `expiry` string, date-time, required
  - `internal_users` integer, required
  - `external_users` integer, required

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
