Checks if users has to update/rotate their passwords.

Lists all users from a determinated organization and checks thier password age, if threshold is reached, then user´s credentialExpired field is set to true

Request
Security:
vc-security
path Parameters
orgId
required
string
query Parameters
max-age
required
integer
Responses
200

OK

400

Bad Request

401

Unauthorized request. Make sure token was included and is valid and try again.

403

Forbidden. You are not permitted to access the requested resource.

put/user-service/v1/organization/{orgId}/check-password-age
Request samples
curl -i -X PUT \
  'http://localhost:8081/user-service/v1/organization/{orgId}/check-password-age?max-age=0' \
  -H 'x-auth-token: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "message": "The token is expired.",
  • "status": 401,
  • "error": "Unauthorized",
  • "timestamp": "2023-12-13T19:02:31.5897497",
  • "path": "/user-service/v1"
}