---
title: "Create JWT token For Delegated  Access"
method: POST
path: "/jwt#3"
tags: ["Authentication/JWT (JSON Web Token)"]
---

# Create JWT token For Delegated  Access

`POST /jwt#3`

This API will require valid access through APIKey and allows for generation of a JWT for a different user. 

> Note: # and anything after is NOT needed, its just to allow multiple examples for the same path/method.

## Request body

- DeletegateRequest
  - `user` string, required — This is the main user extension for the user account.
  - `domain` string, required — This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. ~ and * can be used alone in special cases to mean My Domain (~) and All Domains (\*).

## Response `200`

- JwtRequestSuccess
  - `token` string, jwt, required — This is the JWT token that would need to be saved for use in addtional requests.
  - `refresh` string, jwt, required — This is a JWT but only capable of being used to regenerate a new JWT token and not for authenticated requests.

## Other responses

- `400`
- `401`
- `403`
- `404`
- `x-400-2`

---

[API](https://skmtc.net/ns-api/apis/netsapiens-api-v2.md) · [All operations](https://skmtc.net/ns-api/apis/netsapiens-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ns-api/netsapiens-api-v2/revisions/d37f65b5b886/schema)
