Skip to main content

Rotate Public Key

Use this endpoint to change your public key that is stored by Splitit (you should never share a private key with Splitit). In this scenario, Splitit uses your public key to encrypt data sent to you, to verify that communication that came from you is actually from you.

  • Used to PGP-encrypt outgoing traffic from Splitit, such as reports and credentials
  • Used by Splitit to authenticate your signatures (RSA key-pair authentication)
Request Body REQUIRED
OwnerCode string REQUIRED

Given to you by Splitit support, same as Owner in other calls

Usage string[] REQUIRED

Possible values: [Unknown, Reports, Authentication, MessageLevelEncryption, CredentialsDownload, ResponseSignature]

Type string REQUIRED

Possible values: [RSA, PGP]

PublicKey string REQUIRED

E.g., "sU9tOVHOcM6jPOjjWZpXZs4V0cmc01BZfChF5afrj71Dz2COn2"

ExpirationUtc date-time REQUIRED

E.g., 2024-07-06T15:46:26.409Z

RelatedClientId string
Responses
200
Schema OPTIONAL
UniqueId string OPTIONAL
400
Schema OPTIONAL
TraceId string OPTIONAL
Error object OPTIONAL
Code string OPTIONAL
Message string OPTIONAL
AdditionalInfo string OPTIONAL
ExtraData object OPTIONAL
404
Schema OPTIONAL
TraceId string OPTIONAL
Error object OPTIONAL
Code string OPTIONAL
Message string OPTIONAL
AdditionalInfo string OPTIONAL
ExtraData object OPTIONAL
500
Schema OPTIONAL
TraceId string OPTIONAL
Error object OPTIONAL
Code string OPTIONAL
Message string OPTIONAL
AdditionalInfo string OPTIONAL
ExtraData object OPTIONAL