for curl fix next line issue

This commit is contained in:
Pascal Fischer
2023-05-08 18:51:25 +02:00
parent 4c51e12888
commit 4d189d2e39
12 changed files with 49 additions and 49 deletions

View File

@@ -17,8 +17,8 @@ export const title = 'Accounts'
<CodeGroup title="Request" tag="GET" label="/api/accounts">
```bash {{ title: 'cURL' }}
curl -X GET https://api.netbird.io/api/accounts \
-H "Authorization: Token <TOKEN>" \
-H 'Accept: application/json' \
-H "Authorization: Token <TOKEN>"
```
```js
@@ -235,9 +235,9 @@ echo $response;
<CodeGroup title="Request" tag="PUT" label="/api/accounts/{accountId}">
```bash {{ title: 'cURL' }}
curl -X PUT https://api.netbird.io/api/accounts/{accountId} \
-H "Authorization: Token <TOKEN>" \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "Authorization: Token <TOKEN>" \
--data-raw '{
"peer_login_expiration_enabled": true,
"peer_login_expiration": 43200