コンテンツにスキップ

Accept a wrapped backup content key

POST
/api/admin/tenant-backups/{operationId}/key-challenges/{challengeId}/accept
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/tenant-backups/example/key-challenges/example/accept \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "envelope": "example", "handoff": "example" }'

Requires admin:backups:read, admin:backups:manage and a human Admin session with fresh MFA (five minutes). The operation creator may submit once before submitExpiresAt. The envelope and RSA-OAEP ciphertext are lowercase hexadecimal. Invalid, expired, replayed or cancelled requests return 409. Acceptance stores the key but does not start or complete the operation.

operationId
required
string
/^[A-Za-z0-9_.:-]{1,256}$/
challengeId
required
string
Media type application/json
object
envelope
required
string
/^[a-f0-9]{186}$/
handoff
required
string
/^[a-f0-9]{512}$/
key
additional properties
Example generated
{
"envelope": "example",
"handoff": "example"
}

Accept a wrapped backup content key

Media type application/json
object
accepted
required
boolean
key
additional properties
Example
{
"accepted": true
}

The request was rejected. No key material is returned.

Media type application/json
object
error
required
string
key
additional properties
Example generated
{
"error": "example"
}

The request was rejected. No key material is returned.

Media type application/json
object
error
required
string
key
additional properties
Example generated
{
"error": "example"
}

The request was rejected. No key material is returned.

Media type application/json
object
error
required
string
key
additional properties
Example generated
{
"error": "example"
}

The request was rejected. No key material is returned.

Media type application/json
object
error
required
string
key
additional properties
Example generated
{
"error": "example"
}

The request was rejected. No key material is returned.

Media type application/json
object
error
required
string
key
additional properties
Example generated
{
"error": "example"
}