Key
Import a Key
Changed onImports a Key (CryptoKeyInfo) from a ZIP produced by the export endpoint. When override=true an existing key with the same name is overwritten; otherwise a new key is created (an '-imported' suffix is added on name conflict).
post/apiops/projects/{projectName}/keys/import/
Request
- Base URLhttp://167.86.118.166:32080
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectNamestring required
Query parameters
overrideboolean
When true, overrides an existing key with the same name. Defaults to false.
Headers
X-Apinizer-Package-Passphrasestring
Optional; the passphrase required to decrypt the package if it is encrypted (Base64 UTF-8). Ignored if the package is not encrypted.
Request body multipart/form-data
Response
successful operation!
Changes
- info
endpoint added
- info