Enable or Disable Secure Mode on Public Key
Enable or disable secure mode on an existing public key (e.g. ws_pubk_...).
Authorizations
You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
Path Parameters
Workspace slug (e.g. staging, production).
Public key identifier (e.g. ws_pubk_...).
Body
Enable or disable secure mode for this public key.
Response
Secure mode update accepted.
Workspace public key used by client SDKs.
Unique identifier of the public key.
"ws_pubk_exampleId01"
Public key value exposed to clients.
"SS.PUBK.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Label for the public key.
"web-app"
Domains allowed to use this public key.
Indicates whether secure mode is enabled for this key.
Indicates whether the public key has been deleted.
Indicates whether this is the default public key for the workspace.
Timestamp when the public key was created.
Identity that performed an action (created, updated, rolled, deleted, rotated).
Timestamp when the public key was last rotated.
Identity that performed an action (created, updated, rolled, deleted, rotated).
Timestamp when the public key was last updated.
Identity that performed an action (created, updated, rolled, deleted, rotated).