Skip to content

Commit 29bd839

Browse files
committed
Cleanup of stray example
1 parent 8f7f753 commit 29bd839

File tree

1 file changed

+1
-36
lines changed

1 file changed

+1
-36
lines changed

platform/smallstep-api.mdx

+1-36
Original file line numberDiff line numberDiff line change
@@ -25,41 +25,8 @@ You can get an API token in two ways:
2525

2626
### API Clients
2727

28-
- [Smallstep Terraform Provider](https://github.com/smallstep/terraform-provider-smallstep) ([Documentation](https://registry.terraform.io/providers/smallstep/smallstep/latest/docs))
2928
- [Smallstep API Python Client](https://github.com/smallstep/smallstep-python)
30-
31-
### Getting Started
32-
33-
Output:
34-
35-
```bash
36-
[
37-
{
38-
"active": true,
39-
"displayName": "Alice T",
40-
"emails": [
41-
{
42-
"email": "alice@smallstep.com",
43-
"primary": true
44-
}
45-
],
46-
"familyName": "T",
47-
"givenName": "Alice",
48-
"groups": [
49-
{
50-
"id": "a1028765-3d67-44b0-b51b-f7d76727f181",
51-
"name": "admin"
52-
},
53-
{
54-
"id": "eb4b75f0-a341-4dac-a52a-12d90d91b97d",
55-
"name": "super-admin"
56-
}
57-
],
58-
"id": "4510f372-f4ba-4dc7-b6c2-ad22fdaaadb1",
59-
"posixUsers": []
60-
}
61-
]
62-
```
29+
- [Smallstep Terraform Provider](https://github.com/smallstep/terraform-provider-smallstep) ([Documentation](https://registry.terraform.io/providers/smallstep/smallstep/latest/docs))
6330

6431
### Example: Add devices via the API
6532

@@ -69,8 +36,6 @@ Devices added via API are automatically approved.
6936
but they will not be marked as high-assurance
7037
until Smallstep receives an attestation from the device.
7138

72-
#### Example: I have a list of device identifiers
73-
7439
For each device, use the [Save Collection Instance](https://gateway.smallstep.com/v2023-11-01/operations/PutCollectionInstance) endpoint to create a device.
7540
- For the `collectionSlug`, use `default`
7641
- For Apple devices, the `instanceID` must be the device's serial number.

0 commit comments

Comments
 (0)