コンテンツにスキップ

削除リクエスト取消

POST
/admin/users/{userId}/cancel-deletion

ユーザーの削除予約をキャンセルし、通常状態に戻す。

userId
required
string
object
reason
required

取消理由 (監査ログ用)

string
>= 1 characters

削除取消完了

object
message
string
Example
Deletion cancelled
user
object
id
string
email
string
name
string | null
teamId
string
role
string
Allowed values: owner member viewer
deletionRequestedAt
string | null
deletionScheduledAt
string | null

削除リクエストが存在しない

object
error
object
code
string
Example
VALIDATION_ERROR
message
string
Example
Invalid request body
status
integer
Example
400

ユーザーが見つからない

object
error
object
code
string
Example
VALIDATION_ERROR
message
string
Example
Invalid request body
status
integer
Example
400