Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to call the backend to perform a password reset:

...


The endpoint is:


/users/password-reset

...

https://dev.azeti.net/acp-service/swagger-ui.html#/operations/users/validateActivationCodeUsingGET

POST:

http://localhost:8080/SSCAdmin/users/password-reset

...

https://development.azeti.net/#!/new-password/c41a119b-de20-43f7-966a-85b6891fa58f

Take the code part and  use GET. This is for validating the activation code, before displaying the password prompt.

GET:

http://localhost:8080/SSCAdmin/users/password-reset?code=c41a119b-de20-43f7-966a-85b6891fa58f

...

Code Block
languagejs
{
    "group": "AZETI_CLOUD",
    "error": "ACTIVATION_CODE_DOES_NOT_EXIST",
    "infos": [
        "c41a119b-de20-43f7-096a-85b6891fa58f"
    ]
}


PUT:

1 http://localhost:8080/SSCAdmin/users/password-reset

request-body:

1 {"code":"c41a119b-de20-43f7-966a-85b6891fa58f","password":"1234567A"}

May return:
INVALID_ACTIVATION_CODE
ACTIVATION_CODE_DOES_NOT_EXIST
ACTIVATION_CODE_EXPIRED
INVALID_PASSWORD

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@957
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "KB"
labelskb-how-to-article

...