Returns the current remember-me configuration
This request has no parameters.
returned if fetching the current configuration was successful
any
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/rest/admin/1.0/remember-me/config' \
--header 'Accept: application/json'
1
2
3
4
{
"expirationPeriod": 300,
"enabled": true
}
Updates the remember me configuration
an entity with Remember Me configuration
boolean
integer
returned if saving the configuration was successful
any
1
2
3
4
5
6
7
8
curl --request PUT \
--url 'http://{baseurl}/rest/rest/admin/1.0/remember-me/config' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"expirationPeriod": 300,
"enabled": true
}'
1
2
3
4
{
"expirationPeriod": 300,
"enabled": true
}
Expires all active remember-me tokens
This request has no parameters.
returned if the tokens have been successfully expired
1
2
curl --request POST \
--url 'http://{baseurl}/rest/rest/admin/1.0/remember-me/expire-all'
Rate this page: