APIs & Integrations

R111
Member

owners API - archived users without userID

SOLVE

Hello,

I try to extracted deleted users info in my organization.

I use the endpoint `/crm/v3/owners/?archived=true` in order to get the deleted users.

 

The field `userId` in all users is null.

Is there a way to receive the userId of an archived user?

Thank you!

 

R111_0-1659436297904.png

 

0 Upvotes
1 Accepted solution
Jaycee_Lewis
Solution
Community Manager
Community Manager

owners API - archived users without userID

SOLVE

Hi, @R111 👋 To confirm, you are not missing anything here.

 

If a user is Deactivated, they will continue to return a value for  “userId” If a User is fully Removed, there will no longer be a “userId” to return.

 

It's not my favorite answer to give, and I don't want you to search for something that isn't available via API.

 

Best,

Jaycee


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !

View solution in original post

0 Upvotes
1 Reply 1
Jaycee_Lewis
Solution
Community Manager
Community Manager

owners API - archived users without userID

SOLVE

Hi, @R111 👋 To confirm, you are not missing anything here.

 

If a user is Deactivated, they will continue to return a value for  “userId” If a User is fully Removed, there will no longer be a “userId” to return.

 

It's not my favorite answer to give, and I don't want you to search for something that isn't available via API.

 

Best,

Jaycee


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Upvotes