fixing auth-app api docs for creating token via impersonation API

This commit is contained in:
Niraj Acharya
2024-12-09 16:02:29 +05:45
parent e8879a9fd7
commit c6fd3aa5c3
+1 -1
View File
@@ -113,7 +113,7 @@ To impersonate, the respective requests from the CLI commands above extend with
Example:\
A final create request would then look like:
```bash
curl --request POST 'https://<your host:9200>/auth-app/tokens?expiry={value}?userName={value}' \
curl --request POST 'https://<your host:9200>/auth-app/tokens?expiry={value}&userName={value}' \
--header 'accept: application/json' \
--header 'authorization: Bearer {token}'
```