You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 91fc4eb
Browse filesBrowse the repository at this point in the historyBrowse files
Regenerated from api-codegen `b27f74ff39` by [this
run](https://github.com/monte-carlo-data/api-codegen/actions/runs/39868898264).
For human review. Nothing merges this automatically.
## Spec
Generated from the API spec exported at 2026-10-22T22:57:41Z. Generated
by api-codegen's own templates.
`.api-codegen-source.json` at this repository's root records the inputs
to this generation.
Co-authored-by: mc-ci-cd-app[bot] <127546454+mc-ci-cd-app[bot]@users.noreply.github.com>
|`connection_type`| The connection type the credentials are for, such as `snowflake`. Fixed once created. |
2142
+
|`storage_type`| Where the secret lives. Fixed once created. |
2143
+
|`created_time`| When the credentials were created. |
2144
+
|`auth_mode`| How Monte Carlo signs in. `oauth_client_credentials` takes `consumer_secret`. `jwt_bearer` takes `username` and `private_key`. Both take `domain` and `consumer_key`. |
2145
+
|`domain`| My Domain host of your org, such as `acme.my.salesforce.com`. |
2146
+
|`consumer_key`| Consumer key of the connected app Monte Carlo signs in as. |
2147
+
|`username`| Salesforce user the JWT signs in as, for `jwt_bearer`. |
2148
+
|`dataspaces`| Data spaces Monte Carlo collects metadata from. |
2149
+
|`dataspace`| The one data space a query connection runs in. Once set, it can be changed but not cleared. Sending it in an update, even unchanged, moves row count collection for that data space's tables to the query connections using these credentials. |
2150
+
2151
+
### What can fail
2152
+
2153
+
- Authentication credentials are missing or invalid.
2154
+
- The request was authenticated, but the caller is not allowed to perform this operation. Read `code` to tell the reasons apart: `account_frozen` means the account is paused, rather than that the caller lacks permission.
2155
+
- The credentials does not exist, or is not visible to the caller.
2156
+
- An unexpected error prevented the request from being processed.
2157
+
- Monte Carlo is busy or temporarily unavailable; try again after a moment.
2158
+
2159
+
## `delete_salesforce_data_cloud_credentials`: Delete Salesforce Data Cloud credentials
2160
+
2161
+
Delete Salesforce Data Cloud credentials no connection uses. Monte Carlo stops using the stored consumer secret or private key. Rotate the consumer secret, or remove the key's certificate from the connected app, if they must be retired.
|`credentials_id`|`str`| yes | Id of the credentials, as returned when they are created or listed. |
2171
+
2172
+
### Response
2173
+
2174
+
Returns `credentials_id` and `deleted: true` once the credentials is gone.
2175
+
2176
+
### What can fail
2177
+
2178
+
- Authentication credentials are missing or invalid.
2179
+
- The request was authenticated, but the caller is not allowed to perform this operation. Read `code` to tell the reasons apart: `account_frozen` means the account is paused, rather than that the caller lacks permission.
2180
+
- The credentials does not exist, or is not visible to the caller.
2181
+
- The change conflicts with the current state of the credentials.
2182
+
- Monte Carlo is busy or temporarily unavailable; try again after a moment.
2183
+
- An unexpected error prevented the request from being processed.
2184
+
2117
2185
## `get_sap_hana_credentials`: Get SAP HANA credentials
2118
2186
2119
2187
Get one set of SAP HANA credentials, without the password.
0 commit comments