Skip to main content

Is it possible to make a change of the user pwd through the api?

Thread needs solution
Beginner
Posts: 3
Comments: 2

Right now we are creating partners, customers and copy managers through the api.
We have managed to access the client panel through the impersonate.
When we create the final administrator it is assigned a random pwd through the api, the final client receives the user and pwd that have been created through the api.
Now we want the client to modify the pwd through a predetermined portal through the api without sending a pwd exchange email, is this possible?
With the command / actions / reset you can make the change of pwd, but we need a specific token, how can we generate this token? Through the acronis portal it is generated when you make the request to change pwd, which generates a change email.

0 Users found this helpful
frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 0
Comments: 2016

Hello,

thanks for posting on Acronis forums!

Please specify the exact name and version of Acronis software that you use.

Beginner
Posts: 3
Comments: 2

Hi Maria,

we use acronis cyber cloud 7.5.

but we resolt the issue.

thanks

we generate token
Api 1
/ actions / mail / reset
Get

We pass as query:
mail
login
user_id

returns:

{
  "language": "is",
  "group_kind": 40,
  "downloads": {
    "user_guide": ""
  },
  "host": "https://eu-cloud.acronis.com",
  "company": "",
  "support_phone": "555-1028",
  "support_url": "http://acronis.com",
  "Token" "gAAAAABdif7VB_AdteCfRt3fCObYW3xBv1NFXDrb1VjAUPQXzRg4_ILSFNjf3dQ9uBISqD-M6QEq7XkX-au10D4lCx3U623LytOjPSm2R7HQwV_Ov-q7NEZ9VVlBVPVH3UMIyewcz-4x2XU3ptNNOShfmX06Af2Mj71o1sogYQ0xO2pvXCQ_PqU5pHvnWo - W8RzGymAaO-JksAv-tmadE9G3IJehEI1KtENIv3EVJxCeZL4SUOv1dluz_CcnjKFhgOSmIkxV7hBufKkBsk03eO43X4R3Q-fMI2q0XqfPrbNqnrW5VbLpuI =",
  "recipient_lastname": "john",
  "recipient_firstname": "john",
  "email": "acronis@acronis.com",
  "login": "123456789",
  "action": "reset",
  "base_url": "https://cloud.acronis.com"
}

we take token

Change password
Api 1
Actions / reset
Post
We pass token

with the body

{
  "password": "password3",
  "md5": 0
}

Do not return

With these two commands we have changed the pwd through the api, without exchange mail.

frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 0
Comments: 2016

Hello,

thank you for sharing your solution here on Acronis forum!

I hope that forum users understand that authentication details listed here as an example should be replaced with their owns.

 

Hello Maria!

Just out of curiosity, is there an official documentation of Acronis APIs for Acronis Backup like there is for the Cyber Cloud?

It would help a lot with building custom integration solutions that would interface with Acronis.

-- Peter

frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 250
Comments: 7092

Péter Szatmári wrote:

Hello Maria!

Just out of curiosity, is there an official documentation of Acronis APIs for Acronis Backup like there is for the Cyber Cloud?

It would help a lot with building custom integration solutions that would interface with Acronis.

-- Peter

Hello Peter,

currently, we don't provide the public API for Acronis Backup 12.5, only for Acronis Cyber Cloud (solution for service providers). I've passed your question to the product team to clarify if we have any plans for the on-premise solutions.