Skip to main content
PUT
Replace owner key state

Authorizations

Authorization
string
header
required

An admin API key. Personal admin keys reach the API key, billing and Account endpoints for the creator's personal account; the other endpoints need an organization admin key. Security requirement entries list the permission a scoped key needs for the operation.

Scopes

sandboxes.owner-key.write

Body

application/json
expected_revision
integer<int64>
required

Revision being replaced; 0 for the first write.

Required range: 0 <= x <= 9007199254740991
dek_id
string
required

Unpadded base64url encoding of a 16-byte ID. Fixed by the first write.

encrypted_mk
string
required

Master key sealed under the data encryption key, as an mk1. envelope.

Maximum string length: 262144
recovery
object[]
required
Required array length: 1 - 16 elements

Response

State stored.

revision
integer<int64>
required