PATCH api/KeySeeds/{id}
Updates a key seed with only the provided fields. If the PATCH method cannot be used, this endpoint can still be reached by using the POST method and setting the "X-HTTP-Method-Override" header to "PATCH".
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
PatchedKeySeed| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
The name of the key seed. |
string |
Max length: 256 Min length: 1 |
| IsDefault |
Indicates whether the key seed must be treated as the default one. Note: If set to false, the MadeDefault date will be reset to null, but the key seed may still end up being the default one. Instead of setting false here, it is usually recommended to set another key seed as default instead. |
boolean |
None. |
Request Formats
application/json, text/json
{
"Name": "sample string 1",
"IsDefault": true
}
Response Information
Resource Description
KeySeed| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The ID of the key seed. |
globally unique identifier |
Required |
| Name |
The name of the key seed. |
string |
Max length: 256 Min length: 1 |
| Data |
The key seed. |
Collection of byte |
Max length: 30 Min length: 30 |
| IsSecured |
Indicates whether the key seed has been secured and won't be exposed. |
boolean |
None. |
| Created |
The date when the key seed was created (in the ISO 8601 format). |
date |
Required |
| Updated |
The date when the key seed was updated last time (in the ISO 8601 format). |
date |
None. |
| MadeDefault |
The date when the key seed was made as the default one (in the ISO 8601 format). There may be multiple key seeds that were made as the default ones, but only one key seed will be treated as the default one. The default key seed is the last key seed that was made as the default one. If no key seeds were ever made as the default ones, the oldest key seed will be treated as the default one. |
date |
None. |
Status Codes
All HTTP status codes must be expected, but the following status codes are the most probable:
- OK (200) - The key seed is successfully patched.
- BadRequest (400) - The patch data for the key seed is invalid.
- NotFound (404) - The key seed with the specified ID is not found.
Response Formats
application/json, text/json
{
"Id": "2fb60001-ab90-49e8-8180-6602691dc245",
"Name": "sample string 2",
"Data": "QEA=",
"IsSecured": true,
"Created": "2026-08-09T00:27:51.9161345+00:00",
"Updated": "2026-08-09T00:27:51.9161345+00:00",
"MadeDefault": "2026-08-09T00:27:51.9161345+00:00"
}