Skip to main content

tenants_tenants_create_recovery_key_create

POST 

/api/v3//tenants/tenants/:tenant_uuid/create_recovery_key/

Create recovery key for user.

Request

Path Parameters

    tenant_uuid uuidrequired

    A UUID string identifying this Tenant.

Body

required

    user stringrequired

    Possible values: non-empty

    duration_days integerrequired

Responses

Schema

    expiry date-timerequired
    url stringrequired
curl -L '/api/v3/tenants/tenants/:tenant_uuid/create_recovery_key/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"user": "string",
"duration_days": 0
}'
Request Collapse all
Base URL
/api/v3
Parameters
— pathrequired
Body required
{
  "user": "string",
  "duration_days": 0
}