Merge pull request #10741 from owncloud/impersonation-docs

[docs-only] fixing auth-app api docs for creating token via impersonation API
This commit is contained in:
Martin
2024-12-09 11:30:11 +01:00
committed by GitHub

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}'
```