Get orphaned resources for user removal

get/api/usermanagement/v1/organizations/{orgId}/users/{userId}/resources/orphaned

Returns a list of resources that would be orphaned if the specified user is removed from the organization. An orphaned resource is one associated with a permission that has prevent_orphan_resources flag set to true and would have no users assigned after this user's removal.

Path Parameters

  • orgIdstringRequired
  • userIdstringRequired

Query Parameters

  • externalEnterpriseIdstring
  • resourceTypestring
  • pageinteger<int32>Default: 1
    Minimum: >= 1
  • pageSizeinteger<int32>Default: 25
    Minimum: >= 1
    Maximum: <= 500

200 Response

403 Response

404 Response