Workspaces
Workspace set public-key
Sets a public key for the workspace user. Supported only on Snowflake. Snowflake supports two public keys to exist; when the API is called without keyName, either a new key is created or the older one is replaced. Use the /public-key/{keyName} variant to set a specific key (RSA_PUBLIC_KEY or RSA_PUBLIC_KEY_2).
post/v2/storage/workspaces/{workspaceId}/public-key
Request
- Base URLhttps://connection.keboola.com
- Auth
- API key in header X-StorageApi-Token
- or API key in header X-KBC-ManageApiToken
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspaceIdinteger required
ID of the workspace.
Request body
Response
Workspace detail.
Example response
{
"created": "2017-02-13T12:01:05+0100",
"lastActivityAt": "2017-02-13T12:01:05+0100",
"warnAt": "2017-02-13T12:01:05+0100",
"deactivateAt": "2017-02-13T12:01:05+0100",
"deleteAt": "2017-02-13T12:01:05+0100"
}Changes
No recorded changes to this operation across all 1 revision of this API.