It will be better if we can get the status of a user through user API endpoint. When I make a call to the GET Users API endpoint to get the details of a single user, I am getting the response with first name, last name, email, role details, team details and if he/she is a superadmin or not. Response json: { "firstName": "string", "lastName": "string", "primaryTeamId": "101", "roleIds": [ "string" ], "sendWelcomeEmail": true, "roleId": "100", "secondaryTeamIds": [ "102" ], "id": "123", "superAdmin": false, "email": "newUser@email.com" } But in this response, there is no key present to identity if this user is active or inactive in Hubspot. Also, there is no API that supports to activate/deactivate the user from the IDP. Also, I noticed that it is possible to deactivate the user only from the Hubspot side alone but this user will still be active in the IDP side which leads to consistency. My suggestions: 1. It will be better if there is an API supported that allows the IDP to change the status of a user(active/inactive) because Hubspot allows to change the status of a user from Hubspot side alone. So this would make sense. 2. Also it will be better if the status of a user is sent in the GET user response as I explained above. Looking forward to the response from the Hubspot team regarding my suggestions. Thanks in advance.
...その他を表示