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 2021-08-03 19:13:58

aziz
Member
Registered: 2021-03-30
Posts: 109

add user and set him a profile

Hello everyone
I'm using post request with this URL to add a user : glpi server/apirest.php/user/

{"input":{"name":"x","realname": "x", "firstname": "x"}} using this body set the user add to a default profile (self-service) I didn't know what is the field to add to let me set a specific profile appreciate any help smile
thanks in advance

Offline

#2 2021-08-04 13:31:34

Thibaud222
Member
Registered: 2021-06-28
Posts: 23

Re: add user and set him a profile

https:// github.com/glpi-project/glpi/blob/9.5/bugfixes/apirest.md#change-active-profile ?

Offline

#3 2021-08-04 23:22:17

aziz
Member
Registered: 2021-03-30
Posts: 109

Re: add user and set him a profile

nahh this is not working for me and i need to set profile when i'm creating a user

ty anyway

Offline

Board footer

Powered by FluxBB