---
title: "Associate an user to a license"
method: POST
path: "/membership/{id}/license"
tags: ["membership"]
---

# Associate an user to a license

`POST /membership/{id}/license`

Associate an user to a license

## Path parameters

- `id` string, required

## Request body

- object
  - `license_id` integer, required
  - `start_date` string, date — Send the start date or the current date will be used.
  - `expiration_date` string, date — Send the expiration date or the end of the current month will be used. The date should always be the last day of the month.

## Response `201`

License successfully associated.

## Other responses

- `403` — Partner does not have permission to manage the requested license.

---

[API](https://skmtc.net/zumba/apis/zumba-s-api.md) · [All operations](https://skmtc.net/zumba/apis/zumba-s-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zumba/zumba-s-api/revisions/90e715bcdf3d/schema)
