POST SSH/DeleteUnmatchedKeyset
Deletes a keyset that is missing an encrypted private key.
Requirements
- Token scope: SSH:Delete
Headers
-
Content type: Content-Type:application/json.
- Token: The bearer access token that you received. For example, Authorization:Bearer 4MyGeneratedBearerTknz==. For more information, see Passing a bearer token in your API calls.
Parameters
Name |
Description |
---|---|
unmatchedTrustID |
A TrustID that only contains a public key. To get this value, query the database. For example: SELECT TrustId, PublicKeysCount, PrivateKeysCount FROM [vendbSep2].[dbo].[ssh_trust_cache] where TrustId LIKE 'EncryptedPrivateKey%' AND PublicKeysCount = 0 AND PrivateKeysCount =1. |
Returns
Name |
Description |
---|---|
Response |
SshWebResponse object with result of the operation. For more information, see SSH SshWebResponse object. For error information, see SSH web error codes. |
Example: Remove extra encrypted key
Request
POST https://tpp.venafi.example/vedsdk/SSH/DeleteUnmatchedKeyset Authorization:Bearer 4MyGeneratedBearerTknz== { "UnmatchedTrustId":"EncryptedPrivateKey-25" }
HTTP/1.1 200 OK { "Success":true }