How can i get custom user info definitions using REST API ?

Hi,

in this documentation page: https://documentation.bonitasoft.com/bonita/2021.1/customuserinfo-api, I am supposed to get all definitions using http://localhost:8080/bonita/API/customuserinfo/definition/

it fails with message :

{"exception":"class org.bonitasoft.web.rest.server.framework.exception.APIMissingIdException","message":"Id of the item to retrieve is missing in url http://localhost:8080/bonita/APIToolkit/customuserinfo/definition/","api":"customuserinfo","resource":"definition","url":"http://localhost:8080/bonita/APIToolkit/customuserinfo/definition/"}

 

this suppose i already know the Id to get the definition. how can i get all custom user info definition Id ?

thanks