mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-18 21:46:19 -04:00
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:
@@ -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}'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user