Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
catalinaadam committed Jan 10, 2025
1 parent 614e95f commit 0945cd3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions documentation/docs/pmm-upgrade/migrating_from_pmm_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,16 @@ PMM automatically migrates existing API Keys to Service Accounts when you first
### From CLI
You can also trigger the conversion with the following command, replacing `admin:admin` with your credentials:

```sh
Copycurl -X POST http://localhost:3000/api/serviceaccounts/migrate \
-u admin:admin \
-H "Content-Type: application/json
```

The response will display the migration details.

??? example "Expected output"
```sh
curl -X POST http://localhost:3000/api/serviceaccounts/migrate \
-u admin:admin \
-H "Content-Type: application/json
```
The response will display the migration details:
??? example "Expected output"
```
{"total":3,"migrated":3,"failed":0,"failedApikeyIDs":[],"failedDetails":[]}
```
Expand Down

0 comments on commit 0945cd3

Please sign in to comment.