SmartGare
API referenceEndpoints

Read the account settings

Whether the station can send account e-mails, and how long the invitation and reset links stay usable. Without e-mail, nothing offers an invitation or a reset link, and a temporary password is given instead. **Required permission:** `identity.user:read`

GET/identity/v1/account-settings

Whether the station can send account e-mails, and how long the invitation and reset links stay usable. Without e-mail, nothing offers an invitation or a reset link, and a temporary password is given instead.

Required permission: identity.user:read

AuthorizationBearer <token>

In: header

Response Body

*/*

curl -X GET "https://example.com/identity/v1/account-settings"
{  "email_available": true,  "invitation_lifespan": "string",  "reset_lifespan": "string"}