---
name: license-manager-api
description: "License Manager API skill. Use when working with License Manager for api. Covers 13 endpoints."
version: 1.0.0
generator: lapsh
---

# License Manager API
API version: 1.0

## Auth
ApiKey X-VTEX-API-AppKey in header | ApiKey X-VTEX-API-AppToken in header | ApiKey VtexIdclientAutCookie in header

## Base URL
https://apiexamples.vtexcommercestable.com.br

## Setup
1. Set your API key in the appropriate header
2. GET /api/license-manager/site/pvt/logins/list/paged -- verify access
3. POST /api/license-manager/users -- create first users

## Endpoints

13 endpoints across 1 groups. See references/api-spec.lap for full details.

### api
| Method | Path | Description |
|--------|------|-------------|
| GET | /api/license-manager/users/{userId} | Get admin user information by user ID |
| DELETE | /api/license-manager/users/{userId} | Delete admin user |
| POST | /api/license-manager/users | Create admin user |
| GET | /api/license-manager/site/pvt/logins/list/paged | Get list of admin users |
| PUT | /api/license-manager/users/{userId}/roles | Add roles to admin user or API Key |
| GET | /api/license-manager/users/{userId}/roles | Get roles by admin user ID or API Key |
| DELETE | /api/license-manager/users/{userId}/roles/{roleId} | Remove role from admin user or API Key |
| GET | /api/license-manager/site/pvt/roles/list/paged | Get list of roles |
| POST | /api/vlm/appkeys | Create new API Key |
| GET | /api/vlm/appkeys | Get API keys from account |
| PUT | /api/vlm/appkeys/{id} | Update API Key |
| GET | /api/vlm/account/stores | Get stores |
| GET | /api/vlm/account | Get information about account |

## Common Questions

Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "Get user details?" -> GET /api/license-manager/users/{userId}
- "Delete a user?" -> DELETE /api/license-manager/users/{userId}
- "Create a user?" -> POST /api/license-manager/users
- "List all paged?" -> GET /api/license-manager/site/pvt/logins/list/paged
- "List all roles?" -> GET /api/license-manager/users/{userId}/roles
- "Delete a role?" -> DELETE /api/license-manager/users/{userId}/roles/{roleId}
- "List all paged?" -> GET /api/license-manager/site/pvt/roles/list/paged
- "Create a appkey?" -> POST /api/vlm/appkeys
- "List all appkeys?" -> GET /api/vlm/appkeys
- "Update a appkey?" -> PUT /api/vlm/appkeys/{id}
- "List all stores?" -> GET /api/vlm/account/stores
- "List all account?" -> GET /api/vlm/account
- "How to authenticate?" -> See Auth section

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Create/update endpoints typically return the created/updated object

## CLI

```bash
# Update this spec to the latest version
npx @lap-platform/lapsh get license-manager-api -o references/api-spec.lap

# Search for related APIs
npx @lap-platform/lapsh search license-manager-api
```

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
