mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-08 04:19:37 +00:00
fix docs for python sdk with typo for ClientId and BaseURL along with calls with .go instead of .py
This commit is contained in:
@@ -47,7 +47,7 @@ except Exception as e:
|
||||
Run this command to run the code:
|
||||
|
||||
```bash
|
||||
python sdk.go
|
||||
python sdk.py
|
||||
```
|
||||
|
||||
The SDK returns the `deletionStatus` with a value of 204.
|
||||
|
||||
@@ -95,7 +95,7 @@ You must provide configuration to the SDK so it can authenticate to your SailPoi
|
||||
|
||||
### Configuration File
|
||||
|
||||
The SDK requires a configuration file to be named "config.json". Within the file, provide these key/value pairs: `ClientID`, `ClientSecret`, `BaseUrl`.
|
||||
The SDK requires a configuration file to be named "config.json". Within the file, provide these key/value pairs: `ClientId`, `ClientSecret`, `BaseURL`.
|
||||
|
||||
<details>
|
||||
<summary>CLI Assisted <em>(Recommended)</em></summary>
|
||||
@@ -117,9 +117,9 @@ sail sdk init config --env devrel
|
||||
|
||||
```json
|
||||
{
|
||||
"ClientID": "g0567b766b413b22c05c66e75d532f1b",
|
||||
"ClientId": "g0567b766b413b22c05c66e75d532f1b",
|
||||
"ClientSecret": "cabd0e950a7230b63c1ff45be33fb22065b382b6251a73c61177a8bb5482fcc7",
|
||||
"BaseUrl": "https://[tenant].api.identitynow.com"
|
||||
"BaseURL": "https://[tenant].api.identitynow.com"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -134,9 +134,9 @@ Create a file named "config.json", and provide these key/value pairs: `ClientID`
|
||||
|
||||
```json
|
||||
{
|
||||
"ClientID": "g0567b766b413b22c05c66e75d532f1b",
|
||||
"ClientId": "g0567b766b413b22c05c66e75d532f1b",
|
||||
"ClientSecret": "cabd0e950a7230b63c1ff45be33fb22065b382b6251a73c61177a8bb5482fcc7",
|
||||
"BaseUrl": "https://[tenant].api.identitynow.com"
|
||||
"BaseURL": "https://[tenant].api.identitynow.com"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -35,5 +35,5 @@ print(accounts)
|
||||
Run this command to run the code:
|
||||
|
||||
```bash
|
||||
python sdk.go
|
||||
python sdk.py
|
||||
```
|
||||
|
||||
@@ -51,7 +51,7 @@ except Exception as e:
|
||||
Run this command to run the code:
|
||||
|
||||
```bash
|
||||
python sdk.go
|
||||
python sdk.py
|
||||
```
|
||||
|
||||
The example uses a PATCH `replace` operation to update the value in the `/description` path to "This is an updated description for the workgroup."
|
||||
|
||||
Reference in New Issue
Block a user