putSecretsId
Update a Secret, A Secret represents either a key used to decrypt data or an indicator of which key to be used to decrypt data.
In: header
Path Parameters
The ID of this secret resource.
Header Parameters
A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.
A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.
Request Body
application/json
Update Secret Request
Update Secret Request
The identifier of the Login that owns this secret resource.
The identifier of the Entity associated with this secret.
The identifier of the Org associated with this secret.
The identifier of the Division associated with this secret.
The identifier of the Partition associated with this secret.
The type of secret.
baseKey- Base Derivation Key.sftp- SFTP Server Key.publicKey- Public Key.privateKey- Private Key.ecPrivateKey- Elliptic Curve Private Key.apikey- API Key.oldPrivateKey- Expired Private Key.
Value in
- "baseKey"
- "sftp"
- "publicKey"
- "privateKey"
- "ecPrivateKey"
- "apikey"
- "oldPrivateKey"
The platform used to process this Transaction.
APPLE- Apple Payment ProcessorELAVON- ELAVON Payment ProcessorFIRSTDATA- FirstData Payment ProcessorGOOGLE- Google Payment ProcessorVANTIV- WorldPay / Vantiv eComm Payment Processor (VAP)VCORE- WorldPay / Vantiv Core Payment ProcessorWELLSACH- Wells Fargo Merchant Services Payment Processor (ACH)WELLSFARGO- Wells Fargo Merchant Services Payment ProcessorWFSINGLE- Wells Fargo Single Payment ProcessorWORLDPAY- WORLDPAYTDBANKCA- TDBANKCA
Value in
- "APPLE"
- "ELAVON"
- "FIRSTDATA"
- "GOOGLE"
- "VANTIV"
- "VCORE"
- "WELLSACH"
- "WELLSFARGO"
- "WFSINGLE"
- "WORLDPAY"
- "TDBANKCA"
The name of this Secret. This field is stored as a text string and must be between 0 and 100 characters long.
A description of this Secret. This field is stored as a text string and must be between 0 and 500 characters long.
The actual key or the indicator of which key to use. This field is stored as a text string and must be between 1 and 5000 characters long.
Whether this secret is locked or not. If it is locked, then the value of this type of secret will prevail.
0- Not Locked1- Locked
Value in
- 0
- 1
Whether this resource is marked as inactive.
0- Active1- Inactive
Value in
- 0
- 1
Whether this resource is marked as frozen.
0- Not Frozen1- Frozen
Value in
- 0
- 1
Response Body
application/json
application/json
curl -X PUT "https://example.com/secrets/t1_sct_678933d597288379adacez0" \ -H "Content-Type: application/json" \ -d '{ "login": "t1_log_63d2cddf694099bfb64e976", "entity": "g157715bca1f00z", "org": "t1_org_5fada4629c317f80bc9cb12", "division": "t1_div_67c56806728fbbf0bae0b00", "partition": "g157713aff9b946", "type": "privateKey", "platform": "APPLE", "name": "Test1", "description": "description1", "key": "529c5b7ac1d02079fc162a4fe3e32a020057f4b3d7b6225eb55bf8ec65257283", "locked": 0, "inactive": 0, "frozen": 0 }'{ "response": { "data": [ { "id": "t1_sct_678933d597288379adacez0", "created": "2025-01-16 11:29:09.6251", "modified": "2025-01-16 11:29:09.6251", "creator": "t1_log_63d2cddf694099bfb64e976", "modifier": "t1_log_63d2cddf694099bfb64e976", "login": "t1_log_63d2cddf694099bfb64e976", "entity": "g157715bca1f00z", "org": "t1_org_5fada4629c317f80bc9cb12", "division": "t1_div_67c56806728fbbf0bae0b00", "partition": "g157713aff9b946", "type": "privateKey", "platform": "APPLE", "name": "Test1", "description": "description1", "key": "529c5b7ac1d02079fc162a4fe3e32a020057f4b3d7b6225eb55bf8ec65257283", "locked": 0, "inactive": 0, "frozen": 0 } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}