tenants_tenants_create_recovery_key_create
POST/tenants/tenants/:tenant_uuid/create_recovery_key/
Create recovery key for user.
Request
Path Parameters
tenant_uuid uuidrequired
A UUID string identifying this Tenant.
- application/json
Body
required
user stringrequired
Possible values: non-empty
duration_days integerrequired
Responses
- 200
- 400
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
expiry date-timerequired
url stringrequired
{
"expiry": "2024-07-29T15:51:28.071Z",
"url": "string"
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
User not found
Loading...