You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2020-01-07 20:21:34

fernando.vidal
Member
Registered: 2019-01-04
Posts: 5

How to Delete or Update User Using Rest API

Hello,

I'm creating user and setting profile etc using post method.

Now, I need to delete or change (update) information.

How can I do this ?

Offline

#2 2020-01-07 21:26:53

mecmav
Member
From: Brasil
Registered: 2019-03-22
Posts: 330

Re: How to Delete or Update User Using Rest API

I think you can use this

URL: apirest.php/:itemtype/:id

Description: Delete an object existing in GLPI.
Method: DELETE

This way: apirest.php/User/id

You can make a get request to test, after obtain the response, you can use method DELETE to delete your desired user, through respective id.

Offline

#3 2020-01-07 21:27:19

mecmav
Member
From: Brasil
Registered: 2019-03-22
Posts: 330

Re: How to Delete or Update User Using Rest API

Are you brazilian?

Offline

#4 2020-01-09 20:49:16

fernando.vidal
Member
Registered: 2019-01-04
Posts: 5

Re: How to Delete or Update User Using Rest API

Yes, I'm Brazilian !

I'll try your suggest !

Offline

Board footer

Powered by FluxBB